Sentora Support Forums

Full Version: Mod Proxy
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi All

just wondering if someone can guide me throu setting up mod proxy with sentora ?

ive tried adding a proxy to a second server within the Vhosts file but im getting a 503 Service Unavailable error

My Current Vhosts point to second server which i added in the sentora httpd-vhosts file is:

# Custom VH settings (if any exist)

</VirtualHost>

<VirtualHost *:80>
ServerName sub.domain.com
ServerAlias sub.domain.com
DocumentRoot /var/www/html
ProxyPreserveHost On
ProxyPass / http://192.168.1.10:80/ retry=0 timeout=5
ProxyPassReverse / http://192.168.1.10:80/
</VirtualHost>

any help would be great

Chris.
Why doing that thru the Vhost and messing up your config?

Use setup in .htaccess instead easy and works fine.

You can google it or see:
http://stackoverflow.com/questions/19257...erving-url

http://stackoverflow.com/questions/10452...t-redirect