forked from ikedas/sympa-rpm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sympa-httpd22-fcgid.conf
38 lines (33 loc) · 1.17 KB
/
sympa-httpd22-fcgid.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
### Apache httpd 2.2 configuration for Sympa
## Definition of Sympa FastCGI server.
<IfModule mod_fcgid.c>
# You may want to tune the Fcgid settings either here
# or in /etc/httpd/conf.d/fcgid.conf
#FcgidIOTimeout 300
#FcgidMaxRequestLen 131072
# If you changed wwsympa_url in sympa.conf, change this path too.
<Location /sympa>
SetHandler fcgid-script
# Don't forget to edit lines below!
Order deny,allow
Deny from all
#Allow from all
</Location>
ScriptAlias /sympa /usr/libexec/sympa/wwsympa-wrapper.fcgi
# # You may uncomment following lines to enable SympaSOAP feature.
# <Location /sympasoap>
# SetHandler fcgid-script
# # Don't forget to edit lines below!
# Order deny,allow
# Deny from all
# #Allow from all
# </Location>
# ScriptAlias /sympasoap /usr/libexec/sympa/sympa_soap_server-wrapper.fcgi
</IfModule>
## Other static contents
Alias /static-sympa/css /var/lib/sympa/css
Alias /static-sympa/pictures /var/lib/sympa/pictures
Alias /static-sympa /usr/share/sympa/static_content
## If your host is dedicated to Sympa:
#RewriteEngine on
#RewriteRule ^/?$ /sympa [R=301]