# ************************************ # Vhost template in module puppetlabs-apache # Managed by Puppet # ************************************ 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 Options -Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny Allow from all ## 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