Skip to content

Instantly share code, notes, and snippets.

@aerith
Created September 10, 2010 02:28
Show Gist options
  • Select an option

  • Save aerith/572965 to your computer and use it in GitHub Desktop.

Select an option

Save aerith/572965 to your computer and use it in GitHub Desktop.
# aerith@www2381u:~$ view .vhosts/llll.aerith.sc.conf
<VirtualHost *:80>
ServerName llll.aerith.sc
DocumentRoot /home/aerith/.sites/llll.aerith.sc/htdocs
ErrorLog /var/log/apache2/llll.aerith.sc.error.log
CustomLog /var/log/apache2/llll.aerith.sc.access.log vhost_combined
<Directory /home/aerith/.sites/llll.aerith.sc/htdocs>
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
<IfModule mod_proxy.c>
ProxyRequests on
ProxyVia On
ProxyPreserveHost On
ProxyPass /css/ !
ProxyPass /js/ !
ProxyPass /images/ !
ProxyPass /icons/ !
ProxyPass /assets/ !
ProxyPass /swf/ !
ProxyPass /files/ !
# Starman アプリ
ProxyPass / http://127.0.0.1:5000/
</IfModule>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment