Skip to content

Instantly share code, notes, and snippets.

@mactkg
Created March 5, 2011 18:17
Show Gist options
  • Save mactkg/856564 to your computer and use it in GitHub Desktop.
Save mactkg/856564 to your computer and use it in GitHub Desktop.
httpd.conf
<VirtualHost *>
ServerName www.makerbox.net
RewriteEngine On
RewriteRule ^/plonetest(.*) http://localhost:8080/VirtualHostBase/http/www.makerbox.net:80/plone
test/VirtualHostRoot/_vh_plonetest/$0 [L,P]
</VirtualHost>
<VirtualHost *>
ServerName plone.makerbox.net
RewriteEngine On
RewriteRule ^(.*) http://localhost:8080/VirtualHostBase/http/plone.makerbox.net:80/plonetest/Vir
tualHostRoot/_vh_plonetest/$0 [L,P]
</VirtualHost>
<VirtualHost *:80>
ServerName setuco.makerbox.net
DocumentRoot /var/www/SetucoCMS/public
<Directory "/var/www/SetucoCMS/public">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment