Forum Moderators: phranque
RewriteEngine on
RewriteRule ^1$ home.php
and type in example.org/1, the following error message is returned:
Not Found
The requested URL /home/org/example/html/home.php was not found on this server.
________________________________________
Apache/1.3.36 Server at example.org Port 80
There is a home.php file in our /home/html subdirectory, the document root. Is this an alias problem? What to do? Thanks!
[edited by: jdMorgan at 4:47 pm (utc) on Aug. 23, 2006]
[edit reason]
[1][edit reason] Examplified [/edit] [/edit][/1]
If /example/html is the document root, then the error message should have read:
The requested URL /home.php was not found on this server.
You could also try a syntax tweak to see if it helps, but it's still just a work-around that only covers up the root problem:
RewriteEngine on
RewriteRule ^1$ [b]/h[/b]ome.php [L]