Project

General

Profile

« Previous | Next » 

Revision 3f0dd4b2

Added by dsorber over 12 years ago

The first step in moving to Apache 2.4 is renaming all of your site configs so that they end in ".conf".

View differences:

configs/apache/main
<VirtualHost *:80>
Redirect permanent / https://10.0.0.6
</VirtualHost>
<VirtualHost _default_:443>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /htdocs /var/htdocs
<Directory /var/htdocs>
Order allow,deny
Allow from all
</Directory>
WSGIScriptAlias /bfcs /home/dsorber/bfcs/app.wsgi
ErrorDocument 403 /error_pages/404.html
ErrorDocument 404 /error_pages/404.html
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/server.crt
SSLCertificateKeyFile /etc/apache2/ssl/server.key
SSLProtocol -all +TLSv1
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
</VirtualHost>
configs/apache/main.conf
<VirtualHost *:80>
Redirect permanent / https://10.0.0.6
</VirtualHost>
<VirtualHost _default_:443>
ServerAdmin webmaster@localhost
DocumentRoot /var/www
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /htdocs /var/htdocs
<Directory /var/htdocs>
Order allow,deny
Allow from all
</Directory>
WSGIScriptAlias /bfcs /home/dsorber/bfcs/app.wsgi
ErrorDocument 403 /error_pages/404.html
ErrorDocument 404 /error_pages/404.html
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine On
SSLCertificateFile /etc/apache2/ssl/server.crt
SSLCertificateKeyFile /etc/apache2/ssl/server.key
SSLProtocol -all +TLSv1
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
</VirtualHost>
configs/apache/stuff
<Location /stuff>
AuthType Digest
AuthName "stuff"
AuthDigestProvider file
AuthUserFile /home/dsorber/web_users
Require valid-user
</Location>
configs/apache/stuff.conf
<Location /stuff>
AuthType Digest
AuthName "stuff"
AuthDigestProvider file
AuthUserFile /home/dsorber/web_users
Require valid-user
</Location>
configs/apache/trac
WSGIScriptAlias /trac /home/dsorber/trac/projects/headquarters/trac.wsgi
<Directory /home/dsorber/trac/projects/headquarters/>
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
<Location "/trac/login">
AuthType Digest
AuthName "trac"
AuthDigestProvider file
AuthUserFile /home/dsorber/web_users
Require valid-user
</Location>
Alias /trac/chrome/common /home/dsorber/trac/projects/headquarters/htdocs/common
Alias /trac/chrome/site /home/dsorber/trac/projects/headquarters/htdocs/site
<Directory "/home/dsorber/trac/projects/headquarters/htdocs">
Order allow,deny
Allow from all
</Directory>
configs/apache/trac.conf
WSGIScriptAlias /trac /home/dsorber/trac/projects/headquarters/trac.wsgi
<Directory /home/dsorber/trac/projects/headquarters/>
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
<Location "/trac/login">
AuthType Digest
AuthName "trac"
AuthDigestProvider file
AuthUserFile /home/dsorber/web_users
Require valid-user
</Location>
Alias /trac/chrome/common /home/dsorber/trac/projects/headquarters/htdocs/common
Alias /trac/chrome/site /home/dsorber/trac/projects/headquarters/htdocs/site
<Directory "/home/dsorber/trac/projects/headquarters/htdocs">
Order allow,deny
Allow from all
</Directory>
configs/apache/transmission
ProxyRequests Off
<Location /transmission>
AuthType Digest
AuthName "engine"
AuthDigestProvider file
AuthUserFile /home/dsorber/web_users
Require valid-user
ProxyPass http://10.0.0.6:9565/transmission
ProxyPassReverse http://10.0.0.6:9565/transmission
</Location>
configs/apache/transmission.conf
ProxyRequests Off
<Location /transmission>
AuthType Digest
AuthName "engine"
AuthDigestProvider file
AuthUserFile /home/dsorber/web_users
Require valid-user
ProxyPass http://10.0.0.6:9565/transmission
ProxyPassReverse http://10.0.0.6:9565/transmission
</Location>

Also available in: Unified diff