• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Apache Reverse Proxy and Custom Error Documents

/usr/home

Supreme [H]ardness
Joined
Mar 18, 2008
Messages
6,160
I currently have a reverse proxy setup in front of multiple web servers. I'm wanting to set custom error pages but am having issues. I am setting the errordocument at the reverse proxy. Is this the correct location top set it or do I set it on the server behind the reverse proxy?

conf on reverse proxy:

<VirtualHost *:80>
#
ServerName files.example.com
#
ProxyPreserveHost On
ProxyRequests On
ProxyPass /error-documents/ !
ProxyPass / http://10.100.100.22/
ProxyPassReverse / http://10.100.100.22/
ProxyErrorOverride Off
RewriteEngine On
ErrorDocument 503 /error-documents/503.html
</VirtualHost>

The html file exists and has appropriate permission on /var/www/error-documents/ on the reverse proxy server.

I'm still getting the default 503 error page though. Any suggestions?
 
Back
Top