Welcome Guest, Not a member yet? Register   Sign In
Help With Routing
#3

[eluser]37Stars[/eluser]
Thanks for the information it was very helpful. I have edited the .htaccess file in the root (DocumentRoot = "/var/www/html") to have one simple rule.

RewriteEngine On
RewriteOptions Inherit
RewriteBase /
RewriteRule ^alice.html$ test.php


Test.php contains <? phpinfo(); ?>. That page shows that mod_rewrite is loaded. When I use http://localhost/alice.html, it does not redirect to test.php, which I would expect.

Also having an amazingly difficult time setting the log level. Trying to set the level per module (i.e. LogLevel rewrite:debug) generates an error when restarting Apache. The maximum detail comes from "LogLevel debug". Trying any of the trace levels also generates an error.

It acts like the .htaccess file is being ignored.


Messages In This Thread
Help With Routing - by El Forum - 09-10-2012, 10:28 AM
Help With Routing - by El Forum - 09-10-2012, 11:09 AM
Help With Routing - by El Forum - 09-10-2012, 09:52 PM
Help With Routing - by El Forum - 09-10-2012, 11:37 PM
Help With Routing - by El Forum - 09-11-2012, 10:50 AM
Help With Routing - by El Forum - 09-11-2012, 01:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB