I just realized that nested ErrorDocuments are not working in my older 3.1.1 copy (I will have to wait until a lighter load overnight to upgrade to the 3.1.1 final release but this might be wrong in both)
ie.
/public_html/missing-example.html can have one errordocument in htaccess
/public_html/images/missing-image.jpg could be a lower level .htaccess in images overriding the one above it
Works perfectly in apache. Not in LiteSpeed. LiteSpeed shows the top ErrorDocument. Actually, possibly the LAST errordocument for that error code it processed.
ie.
/.htaccess
/images/.htaccess
/blog/.htaccess
The errordocument for 404 in /blog/ will be shown if a 404 occurs in /images/ or /
At least in my working server. You might want to test this on 3.1.1 production, otherwise I will also test it on the latest tonight.
ie.
/public_html/missing-example.html can have one errordocument in htaccess
/public_html/images/missing-image.jpg could be a lower level .htaccess in images overriding the one above it
Works perfectly in apache. Not in LiteSpeed. LiteSpeed shows the top ErrorDocument. Actually, possibly the LAST errordocument for that error code it processed.
ie.
/.htaccess
/images/.htaccess
/blog/.htaccess
The errordocument for 404 in /blog/ will be shown if a 404 occurs in /images/ or /
At least in my working server. You might want to test this on 3.1.1 production, otherwise I will also test it on the latest tonight.
Last edited: