AlternC/etc/alternc/apache.conf

27 lines
763 B
ApacheConf
Raw Normal View History

# This module is loaded in /etc/apache/modules, and enabled by apache-modconf
# LoadModule vhost_alias_module /usr/lib/apache/1.3/mod_vhost_alias.so
ScriptAlias /cgi-bin/ /var/alternc/cgi-bin/
<Directory /var/alternc/cgi-bin/>
Options FollowSymLinks IncludesNOEXEC ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AddHandler cgi-script .cgi
</Directory>
<VirtualHost *:80>
# ***ALTERNC_ALIASES***
Alias /icons/ /usr/share/apache/icons/
UseCanonicalName Off
VirtualDocumentRoot /var/alternc/dns/%-2.1/%0
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T %{Host}i" alternc
CustomLog /var/log/apache/access.log alternc
</VirtualHost>
Include /etc/alternc/bureau.conf