Created
March 19, 2019 04:29
-
-
Save Jirido/6c61897f45da6293cffcf943d373dd58 to your computer and use it in GitHub Desktop.
my https vhost
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<IfModule mod_ssl.c> | |
<VirtualHost *:443> | |
ServerAdmin servergirl@protonmail.ch | |
ServerName paradize.tk | |
ServerAlias www.paradize.tk | |
ServerAlias paradisforeningen.ml | |
ServerAlias www.paradisforeningen.ml | |
ServerAlias paratiisiyhdistys.ml | |
ServerAlias www.paratiisiyhdistys.ml | |
DocumentRoot /servu/wowi/public_html/ | |
#ServerTokens Prod | |
DirectoryIndex /index.php index.php index.htm index.html | |
<Directory "/servu/wowi/public_html"> | |
Options +Indexes +FollowSymLinks +ExecCGI +Includes +MultiViews | |
Require all granted | |
</Directory> | |
<IfModule mod_fastcgi.c> | |
AddHandler wowi .php | |
Action wowi /wowi | |
Alias /wowi /usr/lib/cgi-bin/wowi | |
FastCgiExternalServer /usr/lib/cgi-bin/wowi -socket /var/run/wowi/wowi.sock -pass-header Authorization -idle-timeout 3600 | |
<Directory "/usr/lib/cgi-bin"> | |
Require all granted | |
</Directory> | |
</IfModule> | |
<IfModule mod_fastcgi.c> | |
<FilesMatch ".+\.ph(p[345]?|t|tml)$"> | |
SetHandler wowi | |
</FilesMatch> | |
</IfModule> | |
ErrorLog /servu/wowi/logs/httpd-ssl-error.log | |
LogLevel debug | |
CustomLog /servu/wowi/logs/httpd-ssl-access.log combined | |
<Directory "/servu/wowi/public_html/forum"> | |
DirectoryIndex /index.php index.php | |
Options +Indexes +Includes +MultiViews | |
allow from all | |
Require all granted | |
</Directory> | |
</VirtualHost> | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment