Mod Proxy
#1
Mod Proxy
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.
Reply
#2
RE: Mod Proxy
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
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Sentora & Apache behind Nginx Reverse Proxy Feilding Weather 7 19 ,513 08-06-2021, 02:58 PM
Last Post: ccr1969
How to nginx proxy apache on Sentora? quangpham89 3 13 ,321 03-22-2016, 03:23 AM
Last Post: Me.B
reverse proxy on sentora? fahri 1 6 ,711 02-11-2016, 05:15 PM
Last Post: Me.B

Forum Jump:


Users browsing this thread: 1 Guest(s)