Created
April 7, 2012 16:26
-
-
Save yangg/2330129 to your computer and use it in GitHub Desktop.
Apache Configs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://httpd.apache.org/docs/current/mod/core.html | |
# http://httpd.apache.org/docs/current/mod/mod_proxy.html | |
# enable proxy modules | |
# sudo ln -s /etc/apache2/mods-available/proxy.load /etc/apache2/mods-enabled | |
# sudo ln -s /etc/apache2/mods-available/proxy_http.load /etc/apache2/mods-enabled | |
# sudo service apache2 force-reload | |
# or | |
# LoadModule proxy_module modules/mod_proxy.so | |
# LoadModule proxy_http_module modules/mod_proxy_http.so | |
# Listen 80 | |
NameVirtualHost *:80 | |
<VirtualHost *:80> | |
ServerName notify8.dropbox.com | |
ServerAlias notify*.dropbox.com | |
ProxyPass / http://file.uedsky.com/ | |
ProxyPassReverse / http://file.uedsky.com/ | |
</VirtualHost> | |
# vim: ft=apache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment