0
votes
0answers
245 views

Apache2 ErrorDocuments does not work

I have my Apache configured like this: <VirtualHost *:443> ServerAdmin webmaster@server.com ServerName www.server.com:443 DocumentRoot /var/www/server/web SSLEngine on ...
0
votes
3answers
2k views

Apache: Redirect 404 and ErrorDocument 404 difference

I would like to do a 404 redirect with Apache, and I find several solutions: The .htaccess method. But I don't want to add a .htaccess if not necessary. virtual host method: <VirtualHost ...
0
votes
2answers
505 views

Apache+mod_jk and a specific 404 handler

I have a relatively simple Apache httpd + Tomcat via mod_jk setup that works well, but I need to have Tomcat handle certain 404 conditions. Basically, the httpd service will handle images and PDF ...
2
votes
1answer
1k views

htaccess redirect of 404 error just prints filename, doesn't execute file

On an Apache host, I have a folder called /thumbs with a program in it called program.php that I will use to create thumbnails. There is a .htaccess file that contains the following lines: options ...