freebsd-ports/net-mgmt/argus-monitor/files/apache.conf.in
Olli Hauer 8003f3f40e - rewrite for options NG framework
- /USE_APACHE/USE_APACHE_RUN/
- make usage of ETCDIR, WWWDIR instead PREFIX/(etc|www)/PORTNAME
- add pkg-install script to adjust directory file mode,
  else they differ when installed by package
- use @dirrmtry to preserve existing stats ...
- bump PORTREVISION

PR:             171475
Submitted by:   ohauer
Approved by:    (old) maintainer timeout (port was moved today to ports@)
2012-10-07 18:44:44 +00:00

27 lines
710 B
ApacheConf

# The CGI script is served from the default apache
# cgi-bin directory; we single this URL out from
# the normal alias parsing below.
#
ScriptAliasMatch ^/argus/$ "%%WWWDIR%%/cgi-bin/arguscgi"
ScriptAlias ^/argus/cgi-bin/$ "%%WWWDIR%%/cgi-bin/"
<Directory "%%WWWDIR%%/cgi-bin">
options ExecCGI
AllowOverride none
allow from all
</Directory>
# Support for the logo, css and javascript files. The minimal set
# needed are /sound/whoopwhoop.wav, /img/argus.logo.gif, /img/smile.gif
# /img/sad.gif, /img/nospkr.gif and on top level /argus.css and
# optionally /argus.js.
#
Alias /argus/ "%%WWWDIR%%/docroot/"
<Directory "%%WWWDIR%%/docroot">
options none
AllowOverride none
allow from all
</Directory>