-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.apache
28 lines (22 loc) · 942 Bytes
/
template.apache
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
<VirtualHost *:80>
ServerName templatevar
ServerAlias www.templatevar
DocumentRoot /var/www/templatevar
ErrorLog /var/log/apache2/templatevar_error.log
CustomLog /var/log/apache2/templatevar_access.log "combined"
DirectoryIndex index.html index.htm index.php index.php4 index.php5
<Directory /var/www/templatevar>
Options -Indexes +IncludesNOEXEC +FollowSymLinks +ExecCGI
allow from all
AllowOverride All
#AddHandler fcgid-script .php
#AddHandler fcgid-script .php5
#FCGIWrapper /var/www/templatevar/fcgi-bin/php5.fcgi .php
#FCGIWrapper /var/www/templatevar/fcgi-bin/php5.fcgi .php5
</Directory>
<Directory /var/www/templatevar/cgi-bin>
allow from all
</Directory>
RewriteEngine on
LogLevel debug
</VirtualHost>