.htaccess redirect 403 - 404 issues after upgrade

#1
Hello,
since the 5.0.10 version, 403 and 404 redirect didn't work.
the upgrade on 5.0.12 doesn't patch it.

The .htaccess
ErrorDocument 403 /custom.php
ErrorDocument 404 /custom.php

Work on 5.0.9 and subsequent
Thanks


Sincerly
Vincent
 
Last edited:

mistwang

LiteSpeed Staff
#2
We did some tests, it is working fine.
maybe you can turn on full debug logging and send us log for analysis.
Just grep your IP in the log to get related entries.
 
#3
i use 404 redirection to a php script to generate html page.
The redirection is efficient but the header returned is 404 status even if i force to 200 status in the php script.
 
Top