65 lines
1.7 KiB
INI
65 lines
1.7 KiB
INI
<VirtualHost *:80>
|
|
ServerAdmin webmaster@0l.de
|
|
ServerName whatsapp.0l.de
|
|
|
|
DocumentRoot /home/stv0g/files/whatsapp/transwhat/cgi
|
|
<Directory />
|
|
Options FollowSymLinks
|
|
AllowOverride None
|
|
</Directory>
|
|
<Directory /home/stv0g/files/whatsapp/transwhat/cgi/>
|
|
Options Indexes FollowSymLinks MultiViews +ExecCGI
|
|
AllowOverride All
|
|
Order allow,deny
|
|
allow from all
|
|
AddHandler cgi-script .py
|
|
</Directory>
|
|
|
|
ErrorLog /home/stv0g/files/whatsapp/htdocs/error.log
|
|
CustomLog /home/stv0g/files/whatsapp/htdocs/access.log combined
|
|
</VirtualHost>
|
|
|
|
<IfModule mod_ssl.c>
|
|
<VirtualHost *:443>
|
|
ServerAdmin webmaster@0l.de
|
|
ServerName whatsapp.0l.de
|
|
ServerAlias v.whatsapp.net
|
|
|
|
DocumentRoot /home/stv0g/files/whatsapp/transwhat/cgi
|
|
<Directory />
|
|
Options FollowSymLinks
|
|
AllowOverride None
|
|
</Directory>
|
|
<Directory /home/stv0g/files/whatsapp/transwhat/cgi/>
|
|
Options Indexes FollowSymLinks MultiViews +ExecCGI
|
|
AllowOverride None
|
|
Order allow,deny
|
|
allow from all
|
|
AddHandler cgi-script .py
|
|
</Directory>
|
|
|
|
ErrorLog /home/stv0g/files/whatsapp/htdocs/error.log
|
|
CustomLog /home/stv0g/files/whatsapp/htdocs/access.log combined
|
|
|
|
LogLevel info
|
|
# debug, info, notice, warn, error, crit, alert, emerg.
|
|
|
|
# Rewrite
|
|
RewriteEngine on
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
RewriteCond %{REQUEST_FILENAME} !-d
|
|
RewriteCond %{REQUEST_URI} !/
|
|
RewriteRule (.*) /sniff.py/$1
|
|
|
|
# SSL
|
|
SSLEngine on
|
|
SSLCertificateFile /home/stv0g/files/whatsapp/htdocs/whatsapp.crt
|
|
SSLCertificateKeyFile /home/stv0g/files/whatsapp/htdocs/whatsapp.key
|
|
|
|
<FilesMatch "\.(cgi|shtml|phtml|php)$">
|
|
SSLOptions +StdEnvVars
|
|
</FilesMatch>
|
|
</VirtualHost>
|
|
</IfModule>
|