mirror of
https://github.com/certbot/certbot.git
synced 2026-01-26 07:41:33 +03:00
Part of #7593. * Refactor tests out of packaged module for apache plugin * Exclude pycache and .py[cod] * Change tests path in tox.ini
45 lines
1.5 KiB
Plaintext
45 lines
1.5 KiB
Plaintext
<VirtualHost *:80>
|
|
ServerName semacode.com
|
|
ServerAlias www.semacode.com
|
|
DocumentRoot /tmp/
|
|
TransferLog /tmp/access
|
|
ErrorLog /tmp/error
|
|
Redirect /posts/rss http://semacode.com/feed
|
|
Redirect permanent /weblog http://semacode.com/blog
|
|
|
|
#ProxyPreserveHost On
|
|
# ProxyPass /past http://old.semacode.com
|
|
#ProxyPassReverse /past http://old.semacode.com
|
|
#<proxy>
|
|
# Order allow,deny
|
|
#Allow from all
|
|
#</proxy>
|
|
|
|
Redirect /stylesheets/inside.css http://old.semacode.com/stylesheets/inside.css
|
|
RedirectMatch /images/portal/(.*) http://old.semacode.com/images/portal/$1
|
|
Redirect /images/invisible.gif http://old.semacode.com/images/invisible.gif
|
|
RedirectMatch /javascripts/(.*) http://old.semacode.com/javascripts/$1
|
|
|
|
RewriteEngine on
|
|
RewriteRule ^/past/(.*) http://old.semacode.com/past/$1 [L,P]
|
|
RewriteCond %{HTTP_HOST} !^semacode\.com$ [NC]
|
|
RewriteCond %{HTTP_HOST} !^$
|
|
RewriteRule ^/(.*) http://semacode.com/$1 [L,R]
|
|
|
|
</VirtualHost>
|
|
|
|
|
|
<VirtualHost *:80>
|
|
ServerName old.semacode.com
|
|
ServerAlias www.old.semacode.com
|
|
DocumentRoot /home/simon/semacode-server/semacode/website/trunk/public
|
|
TransferLog /tmp/access-old
|
|
ErrorLog /tmp/error-old
|
|
<Directory "/home/simon/semacode-server/semacode/website/trunk/public">
|
|
Options FollowSymLinks
|
|
AllowOverride None
|
|
Order allow,deny
|
|
Allow from all
|
|
</Directory>
|
|
</VirtualHost>
|