Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Web Hosting Forum


You are currently viewing our Web Hosting Forum as a guest. Please register to participate.
Login



Reply
.htaccess not working
Old 11-22-2007, 05:42 PM .htaccess not working
Novice Talker

Posts: 9
Trades: 0
I am hosing on my own computer. I am tying to get .htaccess working and used a tutorial
the working version of it is at
http://www.techiesforum.com/alice.html (hosted on godaddy)
non-working version
http://www.musicmonkeydj.com/alice.html (hosted at my end)

on my end i have the httpd.conf file configured as follows

Code:
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "D:/WebSites"
#
# Each directory to which Apache has access can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories). 
#
# First, we configure the "default" to be a very restrictive set of 
# features.  
#
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
 
#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "D:/WebSites">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    #
    Options Indexes FollowSymLinks
    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   Options FileInfo AuthConfig Limit
    #
    AllowOverride All
    #
    # Controls who can get stuff from this server.
    #
    Order allow,deny
    Allow from all
</Directory>
#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
<IfModule dir_module>
    DirectoryIndex index.html index.php Default.aspx
</IfModule>
AccessFileName .htaccess
 
#
# The following lines prevent .htaccess and .htpasswd files from being 
# viewed by Web clients. 
#
<FilesMatch "^\.ht">
    Order allow,deny
    #Deny from All
</FilesMatch>
i am running vhosts on the server as well .htaccess does not work and i need to get it working. This forum has helped me with one of my issues already and worked. You guys are 1 for 1 lets make it 2 for 2
bretterer is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 11-22-2007, 05:47 PM Re: .htaccess not working
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
What is not working? Can you give a more detailed explanation?
joder is offline
Reply With Quote
View Public Profile
 
Old 11-22-2007, 05:49 PM Re: .htaccess not working
Novice Talker

Posts: 9
Trades: 0
sorry....this is my htaccess file
Code:
RewriteEngine On
RewriteRule ^alice.html$ bob.html [L]
my server ignores it and does no forwarding. it should forward www.musicmonkeydj.com/alice.html to be bobs homepage the one at www.musicmonkeydj.com/bob.html

That help?
bretterer is offline
Reply With Quote
View Public Profile
 
Old 11-22-2007, 06:01 PM Re: .htaccess not working
Novice Talker

Posts: 9
Trades: 0
its working now....me being an idiot! over looking something simple.
bretterer is offline
Reply With Quote
View Public Profile
 
Old 11-22-2007, 09:34 PM Re: .htaccess not working
joder's Avatar
Flipotron

Posts: 6,442
Name: James
Location: In the ocean.
Trades: 0
Please post the resolution in case it can be useful to someone else.
joder is offline
Reply With Quote
View Public Profile
 
Old 11-25-2007, 01:14 PM Re: .htaccess not working
Average Talker

Posts: 20
Trades: 0
its might be also bcz of chmod.
__________________
|
Please login or register to view this content. Registration is FREE
|
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

|
Please login or register to view this content. Registration is FREE
|
gizmoya is offline
Reply With Quote
View Public Profile Visit gizmoya's homepage!
 
Old 11-27-2007, 06:49 AM Re: .htaccess not working
HowLong's Avatar
Extreme Talker

Posts: 200
Name: Max
Trades: 0
I'm glad that all has finished all right.
HowLong is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to .htaccess not working
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.87417 seconds with 12 queries