]> git.pld-linux.org Git - packages/demarc.git/blame - demarc-apache.conf
- drop obsolete and outdated manual inclusion of rpm macros
[packages/demarc.git] / demarc-apache.conf
CommitLineData
d6b368b7
AM
1# Include this file in httpd.conf using:
2# ,,Include demarc.conf directive''
3
4# BEST WAY TO RUN demarc IS TO USE mod-ssl DUE TO SECURITY REASONS
5
6<IfModule !mod_ssl.c>
7# For Non-SSL (pleace your domain instead localhost)
8Redirect /demarc http://localhost//dm/demarc
9</IfModule>
10
11<IfModule mod_ssl.c>
12# For SSL (pleace your domain instead localhost)
13Redirect /demarc https://localhost/dm/demarc
14</IfModule>
15
16Alias /dm_images "/usr/share/demarc/images"
17
18<Directory "/usr/share/demarc/cgi">
19 AllowOverride all
20 DirectoryIndex demarc
21</Directory>
22
23
24<IfModule !mod_perl.c>
25# For regular Perl add:
26# --------------------
27ScriptAlias /dm "/usr/share/demarc/cgi"
28
29</IfModule>
30
31<IfModule mod_perl.c>
32# For Mod_Perl add:
33# --------------------
34
35 PerlModule Apache::Registry
36 KeepAlive Off
37 Alias /dm /usr/share/demarc/cgi
38
39<Location /dm>
40 SetHandler perl-script
41 PerlHandler Apache::Registry
42 Options ExecCGI
43 allow from all
44 PerlSendHeader On
45 DirectoryIndex demarc
46</Location>
47</IfModule>
This page took 0.688438 seconds and 4 git commands to generate.