Subversion Repositories PEEPS

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
ServerName localhost
2
AddHandler cgi-script .cgi .pl
43 - 3
PassEnv DBHOST
4
PassEnv DBNAME
2 - 5
 
6
<Directory /var/www/html>
7
    Options All
8
    AllowOverride All
9
</Directory>
10
 
11
<VirtualHost *:80>
12
    DocumentRoot /var/www/html
13
    CustomLog ${APACHE_LOG_DIR}/access.log combined
14
 
15
    RewriteEngine On
16
    RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI}.pl -f
17
    RewriteRule !\.\w{2,4}$ %{REQUEST_URI}.pl [L]
18
 
19
</VirtualHost>