Project

Profile

Help

Issue #2288 » 25-http-reposrv.dsa.reldom.tamu.edu.conf

jreitmayer, 10/07/2016 06:27 PM

 
# ************************************
# Vhost template in module puppetlabs-apache
# Managed by Puppet
# ************************************

<VirtualHost *:80>
ServerName reposrv.dsa.reldom.tamu.edu

## Vhost docroot
DocumentRoot "/srv/pulp/pulp.wsgi"

## Directories, there should at least be a declaration for /usr/share/pulp.wsgi

<Directory "/srv/pulp/pulp.wsgi">
Options -Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

## Load additional static includes
Include "/etc/pulp/vhosts80/*.conf"

## Logging
ErrorLog "/var/log/httpd/http-reposrv.dsa.reldom.tamu.edu_error.log"
ServerSignature Off
CustomLog "/var/log/httpd/http-reposrv.dsa.reldom.tamu.edu_access.log" "proxy" env=proxy
CustomLog "/var/log/httpd/http-reposrv.dsa.reldom.tamu.edu_access.log" "default" env=!proxy
## Rewrite rules
RewriteEngine On

RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
RewriteRule .* - [F]

SetEnvIf X-Forwarded-For "^.*\..*\..*\..*" proxy
</VirtualHost>
(3-3/9)