diff options
Diffstat (limited to 'rt/t/data/configs')
-rw-r--r-- | rt/t/data/configs/apache2.2+fastcgi.conf | 44 | ||||
-rw-r--r-- | rt/t/data/configs/apache2.2+fastcgi.conf.in | 44 | ||||
-rw-r--r-- | rt/t/data/configs/apache2.2+mod_perl.conf | 40 | ||||
-rw-r--r-- | rt/t/data/configs/apache2.2+mod_perl.conf.in | 40 |
4 files changed, 168 insertions, 0 deletions
diff --git a/rt/t/data/configs/apache2.2+fastcgi.conf b/rt/t/data/configs/apache2.2+fastcgi.conf new file mode 100644 index 000000000..f9b3b1034 --- /dev/null +++ b/rt/t/data/configs/apache2.2+fastcgi.conf @@ -0,0 +1,44 @@ +ServerRoot %%SERVER_ROOT%% +PidFile %%PID_FILE%% +ServerAdmin root@localhost + +%%LOAD_MODULES%% + +TypesConfig /etc/mime.types +FastCgiIpcDir /tmp + +<IfModule !mpm_netware_module> +<IfModule !mpm_winnt_module> +User www +Group www +</IfModule> +</IfModule> + +Listen %%LISTEN%% + +ErrorLog "%%LOG_FILE%%" +LogLevel debug + +<Directory /> + Options FollowSymLinks + AllowOverride None + Order deny,allow + Deny from all +</Directory> + +AddDefaultCharset UTF-8 + +FastCgiServer %%RT_BIN_PATH%%/mason_handler.fcgi -processes 1 -idle-timeout 180 -initial-env RT_SITE_CONFIG=%%RT_SITE_CONFIG%% + +Alias /NoAuth/images/ %%DOCUMENT_ROOT%%/NoAuth/images/ +ScriptAlias / %%RT_BIN_PATH%%/mason_handler.fcgi/ + +DocumentRoot "%%DOCUMENT_ROOT%%" +<Location /> + Order allow,deny + Allow from all + + Options +ExecCGI + AddHandler fastcgi-script fcgi +</Location> + diff --git a/rt/t/data/configs/apache2.2+fastcgi.conf.in b/rt/t/data/configs/apache2.2+fastcgi.conf.in new file mode 100644 index 000000000..c0c01d1a5 --- /dev/null +++ b/rt/t/data/configs/apache2.2+fastcgi.conf.in @@ -0,0 +1,44 @@ +ServerRoot %%SERVER_ROOT%% +PidFile %%PID_FILE%% +ServerAdmin root@localhost + +%%LOAD_MODULES%% + +TypesConfig /etc/mime.types +FastCgiIpcDir /tmp + +<IfModule !mpm_netware_module> +<IfModule !mpm_winnt_module> +User @WEB_USER@ +Group @WEB_GROUP@ +</IfModule> +</IfModule> + +Listen %%LISTEN%% + +ErrorLog "%%LOG_FILE%%" +LogLevel debug + +<Directory /> + Options FollowSymLinks + AllowOverride None + Order deny,allow + Deny from all +</Directory> + +AddDefaultCharset UTF-8 + +FastCgiServer %%RT_BIN_PATH%%/mason_handler.fcgi -processes 1 -idle-timeout 180 -initial-env RT_SITE_CONFIG=%%RT_SITE_CONFIG%% + +Alias /NoAuth/images/ %%DOCUMENT_ROOT%%/NoAuth/images/ +ScriptAlias / %%RT_BIN_PATH%%/mason_handler.fcgi/ + +DocumentRoot "%%DOCUMENT_ROOT%%" +<Location /> + Order allow,deny + Allow from all + + Options +ExecCGI + AddHandler fastcgi-script fcgi +</Location> + diff --git a/rt/t/data/configs/apache2.2+mod_perl.conf b/rt/t/data/configs/apache2.2+mod_perl.conf new file mode 100644 index 000000000..341ae5024 --- /dev/null +++ b/rt/t/data/configs/apache2.2+mod_perl.conf @@ -0,0 +1,40 @@ +ServerRoot %%SERVER_ROOT%% +PidFile %%PID_FILE%% +ServerAdmin root@localhost + +%%LOAD_MODULES%% + +<IfModule !mpm_netware_module> +<IfModule !mpm_winnt_module> +User www +Group www +</IfModule> +</IfModule> + +Listen %%LISTEN%% + +ErrorLog "%%LOG_FILE%%" +LogLevel debug + +<Directory /> + Options FollowSymLinks + AllowOverride None + Order deny,allow + Deny from all +</Directory> + +AddDefaultCharset UTF-8 +PerlSetEnv RT_SITE_CONFIG %%RT_SITE_CONFIG%% +PerlRequire %%RT_BIN_PATH%%/webmux.pl + +RedirectMatch permanent (.*)/$ $1/index.html + +DocumentRoot "%%DOCUMENT_ROOT%%" +<Directory "%%DOCUMENT_ROOT%%"> + Order allow,deny + Allow from all + + SetHandler perl-script + PerlResponseHandler RT::Mason +</Directory> + diff --git a/rt/t/data/configs/apache2.2+mod_perl.conf.in b/rt/t/data/configs/apache2.2+mod_perl.conf.in new file mode 100644 index 000000000..ed12c8690 --- /dev/null +++ b/rt/t/data/configs/apache2.2+mod_perl.conf.in @@ -0,0 +1,40 @@ +ServerRoot %%SERVER_ROOT%% +PidFile %%PID_FILE%% +ServerAdmin root@localhost + +%%LOAD_MODULES%% + +<IfModule !mpm_netware_module> +<IfModule !mpm_winnt_module> +User @WEB_USER@ +Group @WEB_GROUP@ +</IfModule> +</IfModule> + +Listen %%LISTEN%% + +ErrorLog "%%LOG_FILE%%" +LogLevel debug + +<Directory /> + Options FollowSymLinks + AllowOverride None + Order deny,allow + Deny from all +</Directory> + +AddDefaultCharset UTF-8 +PerlSetEnv RT_SITE_CONFIG %%RT_SITE_CONFIG%% +PerlRequire %%RT_BIN_PATH%%/webmux.pl + +RedirectMatch permanent (.*)/$ $1/index.html + +DocumentRoot "%%DOCUMENT_ROOT%%" +<Directory "%%DOCUMENT_ROOT%%"> + Order allow,deny + Allow from all + + SetHandler perl-script + PerlResponseHandler RT::Mason +</Directory> + |