Warning, /harvester/templates/panda/panda_harvester-httpd.conf.rpmnew.template is written in an unsupported language. File is not indexed.
0001 LoadModule authz_host_module modules/mod_authz_host.so
0002 LoadModule alias_module modules/mod_alias.so
0003 LoadModule rewrite_module modules/mod_rewrite.so
0004 LoadModule mime_magic_module modules/mod_mime_magic.so
0005 LoadModule mime_module modules/mod_mime.so
0006 LoadModule include_module modules/mod_include.so
0007 LoadModule log_config_module modules/mod_log_config.so
0008 LoadModule env_module modules/mod_env.so
0009 LoadModule deflate_module modules/mod_deflate.so
0010 LoadModule setenvif_module modules/mod_setenvif.so
0011 LoadModule dir_module modules/mod_dir.so
0012 LoadModule ssl_module modules/mod_ssl.so
0013 LoadModule headers_module modules/mod_headers.so
0014
0015 # WSGI
0016 LoadModule wsgi_module modules/mod_wsgi.so
0017
0018
0019 User FIXME
0020 Group FIXME
0021
0022
0023 <IfModule prefork.c>
0024 StartServers 1
0025 MinSpareServers 1
0026 ServerLimit 2
0027 MaxSpareServers 2
0028 MaxClients 2
0029 MaxRequestsPerChild 2000
0030 </IfModule>
0031
0032 ServerName harvester_apache
0033
0034 DocumentRoot ${SITE_PACKAGES_PATH}/pandaharvester/harvesterbody
0035
0036 <Files ~ "\.(py|pyc|conf)$">
0037 Order allow,deny
0038 Deny from all
0039 </Files>
0040
0041 <Directory />
0042 Options FollowSymLinks
0043 AllowOverride None
0044 Order allow,deny
0045 Allow from all
0046 Deny from 192.203.218.14
0047 </Directory>
0048
0049 <IfModule mod_wsgi.c>
0050 WSGIDaemonProcess pandahvst_daemon processes=2 threads=2 home=${VIRTUAL_ENV}
0051 WSGIProcessGroup pandahvst_daemon
0052 WSGIApplicationGroup %{GLOBAL}
0053 WSGIScriptAliasMatch ^/entry$ ${SITE_PACKAGES_PATH}/pandaharvester/harvesterbody/master.py
0054 WSGIImportScript ${SITE_PACKAGES_PATH}/pandaharvester/harvesterbody/master.py process-group=pandahvst_daemon application-group=%{GLOBAL}
0055 WSGISocketPrefix ${VIRTUAL_ENV}/var/log/panda/wsgisocks/wsgi
0056 </IfModule>
0057
0058
0059 Listen 26080
0060 <VirtualHost *:26080>
0061
0062 RewriteEngine on
0063 RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
0064 RewriteRule .* - [F]
0065
0066 <Directory ${SITE_PACKAGES_PATH}/pandaharvester/harvesterbody>
0067
0068 <Limit GET POST>
0069 Order allow,deny
0070 Allow from all
0071 </Limit>
0072
0073 # allow .py
0074 <Files ~ "\.py$">
0075 Order allow,deny
0076 Allow from all
0077 </Files>
0078
0079 # enable CGI for FastCGI/WSGI
0080 Options FollowSymLinks +ExecCGI
0081
0082 </Directory>
0083
0084 </VirtualHost>
0085
0086 LogLevel info
0087
0088 LogFormat "%t %h \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
0089 LogFormat "%t %h \"%r\" %>s %b" common
0090 LogFormat "%{Referer}i -> %U" referer
0091 LogFormat "%{User-agent}i" agent
0092 CustomLog ${VIRTUAL_ENV}/var/log/panda/panda_harvester_access_log common
0093 ErrorLog ${VIRTUAL_ENV}/var/log/panda/panda_harvester_error_log
0094
0095 PidFile ${VIRTUAL_ENV}/var/log/panda/panda_harvester_httpd.pid
0096
0097 TypesConfig /etc/mime.types