WLHosting
10-21-2005, 09:11 PM
I am trying to develop some scripts/sites on a test server that is in my apartment. I am running Red Hat Fedora 3, Apache 2.0.53, php 4.3.11.
I have looked in the phpinfo() and it says that mod_rewrite is enabled in the Loaded Modules section.
I have created an .htaccess file and included the following:
RewriteEngine on
RewriteBase /
RewriteRule ^/test$ /index.php?p=test
This is just for testing purposes. I have been trying to pick apart some .htaccess files on working sites that I have that use mod_rewrite.
All files are located in the root directory of the web server. And there is a file called index.php in there.
Any suggestions on what could be causing the issues of getting a 404 if I try going to /test from the root directory?
Thanks!
I have looked in the phpinfo() and it says that mod_rewrite is enabled in the Loaded Modules section.
I have created an .htaccess file and included the following:
RewriteEngine on
RewriteBase /
RewriteRule ^/test$ /index.php?p=test
This is just for testing purposes. I have been trying to pick apart some .htaccess files on working sites that I have that use mod_rewrite.
All files are located in the root directory of the web server. And there is a file called index.php in there.
Any suggestions on what could be causing the issues of getting a 404 if I try going to /test from the root directory?
Thanks!
