Skip to content

Instantly share code, notes, and snippets.

@jaehoo
Created January 21, 2013 22:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaehoo/4590184 to your computer and use it in GitHub Desktop.
Save jaehoo/4590184 to your computer and use it in GitHub Desktop.
Apache Server, porxy configuration. Exponer una aplicación web por medio de apache server direcatemente a la raíz.
<IFModule mod_proxy.c>
<VirtualHost *:80>
ServerAdmin webmaster@orbitalzero.com
ServerName myserver.com
ServerAlias tomcat.server
ProxyPass / http://192.168.1.67:8080/mywebapp/
ProxyPassReverse / http://192.168.1.67:8080/mywebapp/
ProxyRequests Off
ProxyPreserveHost On
<proxy >
Order deny,allow
Allow from all
</proxy>
</VirtualHost>
</IFModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment