## $Id: httpd.conf.in,v 1.15 2003/05/07 10:55:57 gnaegi Exp $ ## ## Include this file in your standard httpd.conf. To do this put the following line ## at the very bottom of your local httpd.conf: ## ## Include "@base.dir@/conf/httpd.conf" ## ## ## ## Listen to your @apache.host@ interface on port @apache.host.port@ ## Most people install it on port 80, and usually in the default apache configuration there ## is already a Listen on port 80. If you do not have port 80, uncomment the following line #Listen @apache.host.port@ ## ## Tell apache that all requests on port @apache.host.port@ for any ip address is a ## virtual host request ## NameVirtualHost *:@apache.host.port@ ## Tomcat JK Connector configuration for Apache ##========================================================= ## ## These settings have to match @base.dir@/conf/workers.properties ## JkWorkersFile "@base.dir@/conf/workers.properties" JkRequestLogFormat "%w %V %T %r" JkLogFile "@log.dir@/mod_jk.log.txt" JkLogLevel info JkOptions +ForwardURICompatUnparsed JkMount @tomcat.contextpath@/* worker1 JkMount @tomcat.contextpath@ worker1 AllowOverride None deny from all ## Apache OLAT configuration as virtual host ##========================================================= ## ## These settings have to match @base.dir@/conf/workers.properties ## ServerName @apache.host.name@ ServerAdmin @adminemail@ ErrorDocument 403 /403error.html ErrorDocument 404 /403error.html ErrorDocument 500 /500error.html ## Redirect to olat application RedirectMatch permanent ^/$ @tomcat.contextpath@/ ## Apache config files ErrorLog "@log.dir@/apache_error_log.txt" CustomLog "@log.dir@/apache_access_log.txt" combined AddType text/html .html .htm AddType image/x-icon .ico ## Main server config DocumentRoot "@base.dir@/htdocs" AccessFileName .htaccess ## OLAT monitoring alias Alias /monitoring "@userdata.dir@/monitoring" Alias /webalizer "@userdata.dir@/webalizer" ## Security settings Options Indexes IncludesNoExec FollowSymLinks AllowOverride All Order deny,allow Allow from all Options -Indexes IncludesNoExec FollowSymLinks AllowOverride None Options -Indexes IncludesNoExec FollowSymLinks AllowOverride None