I have the following few lines of code in my httpd.conf file for mod_rewrite:
However, something strange is happening.. it's actually going into an infinite loop, even though I have the [L|last] flag turned on. Here are the results from my rewrite.log file:
as you can see, it's getting a redirect header, but I have no idea why. Could anybody please shed some light on this issue? I'd be seriously grateful.. Liam Morley
lmorley@gdc.wpi.edu
"light the deep, and bring silence to the world.
light the world, and bring depth to the silence."
Code:
RewriteEngine On
RewriteLog "C:/Apache/httpd/logs/rewrite.log"
RewriteLogLevel 3
RewriteRule ^/(.*)$ [URL unfurl="true"]http://localhost/cocoon/$1[/URL] [L]
However, something strange is happening.. it's actually going into an infinite loop, even though I have the [L|last] flag turned on. Here are the results from my rewrite.log file:
Code:
init rewrite engine with requested uri /
applying pattern '^/(.*)$' to uri '/'
rewrite / -> [URL unfurl="true"]http://localhost/cocoon/[/URL]
implicitly forcing redirect (rc=302) with [URL unfurl="true"]http://localhost/cocoon/[/URL]
escaping [URL unfurl="true"]http://localhost/cocoon/[/URL] for redirect
redirect to [URL unfurl="true"]http://localhost/cocoon/[/URL] [REDIRECT/302]
init rewrite engine with requested uri /cocoon/
applying pattern '^/(.*)$' to uri '/cocoon/'
rewrite /cocoon/ -> [URL unfurl="true"]http://localhost/cocoon/cocoon/[/URL]
as you can see, it's getting a redirect header, but I have no idea why. Could anybody please shed some light on this issue? I'd be seriously grateful.. Liam Morley
lmorley@gdc.wpi.edu
"light the deep, and bring silence to the world.
light the world, and bring depth to the silence."