You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

102 lines
4.3 KiB

LoadModule python_module modules/mod_python.so
LoadModule authn_file_module modules/mod_authn_file.so
LoadModule authn_dbm_module modules/mod_authn_dbm.so
LoadModule authn_anon_module modules/mod_authn_anon.so
LoadModule authn_dbd_module modules/mod_authn_dbd.so
LoadModule authn_default_module modules/mod_authn_default.so
LoadModule authz_host_module modules/mod_authz_host.so
LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
LoadModule authz_user_module modules/mod_authz_user.so
LoadModule authz_dbm_module modules/mod_authz_dbm.so
LoadModule authz_owner_module modules/mod_authz_owner.so
LoadModule authz_default_module modules/mod_authz_default.so
LoadModule auth_basic_module modules/mod_auth_basic.so
LoadModule auth_digest_module modules/mod_auth_digest.so
LoadModule dbd_module modules/mod_dbd.so
LoadModule dumpio_module modules/mod_dumpio.so
LoadModule reqtimeout_module modules/mod_reqtimeout.so
LoadModule ext_filter_module modules/mod_ext_filter.so
LoadModule include_module modules/mod_include.so
LoadModule filter_module modules/mod_filter.so
LoadModule substitute_module modules/mod_substitute.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule logio_module modules/mod_logio.so
LoadModule env_module modules/mod_env.so
LoadModule mime_magic_module modules/mod_mime_magic.so
LoadModule expires_module modules/mod_expires.so
LoadModule headers_module modules/mod_headers.so
LoadModule ident_module modules/mod_ident.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule version_module modules/mod_version.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule mime_module modules/mod_mime.so
LoadModule dav_module modules/mod_dav.so
LoadModule status_module modules/mod_status.so
LoadModule autoindex_module modules/mod_autoindex.so
LoadModule asis_module modules/mod_asis.so
LoadModule info_module modules/mod_info.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule dir_module modules/mod_dir.so
LoadModule imagemap_module modules/mod_imagemap.so
LoadModule actions_module modules/mod_actions.so
LoadModule speling_module modules/mod_speling.so
LoadModule userdir_module modules/mod_userdir.so
LoadModule alias_module modules/mod_alias.so
LoadModule rewrite_module modules/mod_rewrite.so
ServerRoot /gnu/store/qqwmxqcp4vi0m0n3c4d632lhvwgkqyvz-httpd-with-mod-python-2.2.34
ServerName gn1-pjotr.genenetwork.org
DocumentRoot /srv/http
Listen 8043
Pidfile /tmp/guix-gn1/httpd-gn1-source-8043.pid
ErrorLog /tmp/guix-gn1/httpd-gn1-source-error-8043.log
User wrk
Group users
TypesConfig /gnu/store/qqwmxqcp4vi0m0n3c4d632lhvwgkqyvz-httpd-with-mod-python-2.2.34/etc/httpd/mime.types
DefaultType application/octet-stream
# DocumentRoot MUST NOT be in the PythonPath. Because gn1-source must be in PythonPath we leave the document-root keyword above unset.
PythonPath "sys.path+['/run/current-system/profile/lib/python2.4', '/run/current-system/profile/lib/python2.4/site-packages', '/home/wrk/gn1-pjotr/gnshare/gn/web/webqtl']"
# same as 'listen' above
NameVirtualHost *:8043
<VirtualHost *:8043>
DocumentRoot /home/wrk/gn1-pjotr/gnshare/gn/web/
Alias /images /home/wrk/gn1-pjotr/gnshare/gn/web/images/
Alias /javascript /home/wrk/gn1-pjotr/gnshare/gn/web/javascript/
Alias /css /home/wrk/gn1-pjotr/gnshare/gn/web/css/
<Directory /home/wrk/gn1-pjotr/gnshare/gn/web/images>
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory /home/wrk/gn1-pjotr/gnshare/gn/web/javascript>
AllowOverride None
Order allow,deny
Allow from all
</Directory>
<Directory /home/wrk/gn1-pjotr/gnshare/gn/web/css>
AllowOverride None
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<Directory /home/wrk/gn1-pjotr/gnshare/gn/web/webqtl>
#what is the difference between these two?
AddHandler mod_python .py
#SetHandler python-program
#publisher has more debug information
PythonHandler /home/wrk/gn1-pjotr/gnshare/gn/web/webqtl/main.py
#PythonHandler mod_python.publisher
#PythonHandler mod_python.cgihandler
PythonOption mod_python.session.session_type FileSession
# only while debugging:
PythonDebug On
</Directory>
# only while debugging:
<Location /mpinfo>
SetHandler python-program
PythonHandler mod_python.testhandler
</Location>