-
Notifications
You must be signed in to change notification settings - Fork 140
Apache C2 Proxy Setup
a2enmod rewrite
a2enmod proxy
a2enmod proxy_http
<VirtualHost :80>
RewriteEngine On
RewriteRule ^/connect http:///connect [NC,P]
RewriteRule ^/daisy http:///daisy [NC,P]
RewriteRule ^/images/static/content/(.) http:///images/static/content/$1 [NC,P]
RewriteRule ^/news/(.) http:///news/$1 [NC,P]
RewriteRule ^/webapp/static/(.) http:///webapp/static/$1 [NC,P]
RewriteRule ^/images/prints/(.) http:///images/prints/$1 [NC,P]
RewriteRule ^/wordpress/site/(.) http:///wordpress/site/$1 [NC,P]
RewriteRule ^/true/images/77/(.) http:///true/images/77/$1 [NC,P]
RewriteRule ^/holidngs/images/(.) http:///holidngs/images/$1 [NC,P]
RewriteRule ^/steam?p=(.*) http:///holidngs/steam?p=$1 [NC,P]
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined