Home
ASP XML   Apache Proxy   PHP Reverse Proxy with Apache   Search Page  
search > Apache Proxy
   create account

 
    (advanced)

Howto: Run on an Apache server using reverse proxy

To have Apache reverse proxy to , Apache must be installed with the mod_proxy module available.

Step 1: Apache Configuration Changes
Add to your Apache configuration file (httpd.conf or other) a virtual host with a new subdomain such as proxy, for example:

<VirtualHost * >
	ServerName proxy.mywebsite.com
	ProxyPreserveHost on
	ProxyTimeout 300
	ProxyPass / http://demo.loopip.com/
	ProxyPassReverse / http://demo.loopip.com/
	SetEnv force-proxy-request-1.0 1
	SetEnv proxy-nokeepalive 1
	ErrorDocument 502 http://www.mywebsite.com/sitenotavailable.html
</VirtualHost>

Make sure the ServerName variable contains the domain you which to use, and make sure the URLs for ProxyPass and ProxyPassReverse match the domain/ip and port under which Net Research Server is running.

Step 2: Restart Apache
service httpd restart

Step 3: Test It
Visit your new website and use the same path of this template, eg. http://proxy....mywebsite....com/integration_demo/search/apache_proxy.
Some urls might not resolve properly. You can fix that by specifying the same host as your website in the default template of your application in the host field.





 

Help build the largest human-edited directory on the Web.
Submit a Site - Open Directory Project - Become an Editor

(c) Copyright 2008, LoopIP LLC. All Rights Reserved