forked from linnovate/mean
-
Notifications
You must be signed in to change notification settings - Fork 1
Apache httpd vhost configuration
shai-weinstein edited this page Aug 3, 2013
·
4 revisions
example of apache httpd vhost configuration. proxying requests to node.js, skipping static content proxying
ProxyRequests Off <VirtualHost *:80> ServerName m.yourdomain.org <Proxy http://localhost:3000*> AddDefaultCharset off Order allow,deny Allow from all </proxy> ProxyPassMatch ^/(lib|js|img|css|views|robots\.txt$|humans\.txt$) ! ProxyPass / http://localhost:3000 <Directory /> Options None AllowOverride None </directory> DocumentRoot /var/www/mean/public <Directory /var/www/mean/public> Options None AllowOverride None Order allow,deny allow from all </directory> ErrorLog ${APACHE_LOG_DIR}/m.yourdomain_error.log LogLevel warn CustomLog ${APACHE_LOG_DIR}/m.yourdomain_access.log combined </virtualhost>