htaccess question
| From: | Peter Van Dijck | Date: | Sat, 14 Apr 2001 13:21:04 +0000 |
| Subject: | htaccess question | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-48539@lists.php.net to get a copy of this message | ||
Hi,
i installed Apache, PHP and mySQL on winNT.
I am trying to get htaccess files to work.
I created a .htaccess file in a directory with this line in it:
errordocument 404 /404.php
I changed the httpd.conf file for apache and restarted apache like this:
# AllowOverride None
AllowOverride All
But when I enter a url that doesn't exist I get this error in the browser:
Not found
The requested URL /peter personal/applications development/generic/htdocs/subfolder/dfdfdf was not found on this server.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
What is a good way to check if htaccess files are working, and what can I do to get them to work?
Thanks for any ideas, hints, ...!
Peter
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
http://liga1.com building multiple language/culture websites
http://poorbuthappy.editthispage.com online ethnology, up&down