Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

.htaccess on my windows xp machine

what am I doing wrong

5:46 pm on Oct 2, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:July 5, 2003
votes: 0

I can not get my htaccess file to work on my windows xp machine. I am sure there is a simple explination.

The .htaccess is as follows:

ErrorDocument 404 /404.htm

But where exactly should the file be? I have tried it in many places with no luck.

In the httpd.conf the following is set :

AllowOverride None

Order allow,deny
Allow from all

#LoadModule rewrite_module modules/mod_rewrite.so

Is there anything else I should be doing?


9:28 pm on Oct 2, 2004 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
votes: 0

Put your .htaccess file in any Web-accessible directory. It will affect that directory and any subdirectories of that directory. Usually, you will place your "main" .htaccess file in the same directory as your "home page."

Your LoadModule rewrite_module line is commented out, so remove the "#" from the beginning.

You'll also need to enable certain AllowOverride settings and Options to allow mod_rewrite to work.

See this thread on setting up mod_rewrite [webmasterworld.com] for more info.



Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members