Skip to content

Instantly share code, notes, and snippets.

@mmalmeida
Created August 4, 2012 14:47
Show Gist options
  • Select an option

  • Save mmalmeida/3258187 to your computer and use it in GitHub Desktop.

Select an option

Save mmalmeida/3258187 to your computer and use it in GitHub Desktop.
apache config
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:80 is a NameVirtualHost
default server vps18841.ovh.net (/etc/apache2/sites-enabled/000-default:1)
port 80 namevhost vps18841.ovh.net (/etc/apache2/sites-enabled/000-default:1)
Syntax OK
###My conf.d file:
LogLevel debug
ProxyRequests Off
<Proxy *>
AddDefaultCharset Off
Order deny,allow
Allow from all
</Proxy>
ProxyPass /itc ajp://localhost:8009/manager
ProxyPassReverse /itc ajp://localhost:8009/manager
SetOutputFilter proxy-html
ProxyHTMLURLMap /manager(.*)$ /itc/$1 R
ProxyPreserveHost on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment