This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

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
Thanks given by:
#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
Thanks given by:


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

Forum Jump:


Users browsing this thread: 1 Guest(s)