Linux apache reverse proxy
Go to solution
Solved by Reddax,
10 hours ago, Xkape said:I would suggest just setting up a separate apache server with that reverse proxy on the test server as it sounds like you are using apache on your live server to point to your test?. Keep your test environment completely separate from your live environment. I think that is best practice at least.
Looks like i've sorted it, if the server goes down it doesn't bring down the rest of the websites, here is my reverse proxy config;
<VirtualHost *:80> ServerAdmin administrator@test.co.uk ProxyRequests off DocumentRoot /var/www ProxyPreserveHost On ServerName testsite.co.uk <Location /> ProxyPass http://testsite.co.uk/ ProxyPassReverse http://testsite.co.uk/ Order allow,deny Allow from all </Location> </VirtualHost>

Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now