[opencms-dev] handle404 appears on every 404 page within the export folder

eelboy at aol.com eelboy at aol.com
Mon Nov 29 17:38:30 CET 2010


Hi Graeme,

-- I see this thread is pretty old, but I didn't see a resolution 
anywhere so I thought I might pipe in.....  Not sure if what I suggest 
will work for your specific needs but... I eventually worked around it 
by simply rewriting the last rule in mod_rewrite.  Instead of this which 
was giving me the same null reference:

RewriteRule .* 
http://127.0.0.1:8080/opencms/handle404?exporturi=%{REQUEST_URI}&%{QUERY_STRING} 
[P]

I used this instead:

RewriteRule .* http://127.0.0.1:8080%{REQUEST_URI} [P]

Hope this helps someone -- or if for some reason this is not a desirable 
resolution someone could perhaps shed some additional light.
Regards,
Edward




More information about the opencms-dev mailing list