Ticket #277: httpd_mapbender.conf

File httpd_mapbender.conf, 1.2 KB (added by Astrid Emde (WhereGroup), 4 years ago)

new Mapbedner configuration file for fcgi and mapbender 3.2.2

Line 
1Alias /mapbender/ "/ms4w/apps/mapbender-starter-v3.2.2/web/"
2
3<Directory "/ms4w/apps/mapbender-starter-v3.2.2/web/">
4 Options MultiViews FollowSymLinks ExecCGI
5 DirectoryIndex app.php
6 Require all granted
7
8 RewriteEngine On
9 RewriteBase /mapbender/
10 RewriteCond %{REQUEST_FILENAME} !-f
11 RewriteRule ^(.*)$ app.php [QSA,L]
12
13 AddHandler fcgid-script .php
14</Directory>
15
16Define WINROOT "c:/WINDOWS"
17Define PHPROOT "/ms4w/Apache/cgi-bin/"
18
19FcgidInitialEnv PHPRC ${PHPROOT}
20FcgidInitialEnv PATH "${PHPROOT};${WINROOT}/system32;${WINROOT};${WINROOT}/System32/Wbem;/ms4w/Apache/php/"
21
22FcgidInitialEnv SystemRoot ${WINROOT}
23FcgidInitialEnv SystemDrive "/"
24FcgidInitialEnv TEMP "${WINROOT}/TEMP"
25FcgidInitialEnv TMP "${WINROOT}/TEMP"
26FcgidInitialEnv windir ${WINROOT}
27
28FcgidPassHeader Authorization
29FcgidIOTimeout 1200
30FcgidConnectTimeout 1200
31FcgidBusyScanInterval 1200
32FcgidBusyTimeout 1200
33FcgidErrorScanInterval 1200
34FcgidIdleScanInterval 1200
35FcgidIdleTimeout 1200
36FcgidZombieScanInterval 1200
37FcgidMaxProcesses 1000
38FcgidOutputBufferSize 64
39FcgidProcessLifeTime 3600
40FcgidMaxRequestsPerProcess 10000
41FcgidMinProcessesPerClass 0
42FcgidFixPathinfo 0
43MaxRequestLen 200000
44
45FcgidWrapper "/ms4w/Apache/cgi-bin/php-cgi.exe" .php
46