Created
August 15, 2013 19:41
-
-
Save jeixav/6244084 to your computer and use it in GitHub Desktop.
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
<VirtualHost _default_:80> | |
DocumentRoot /var/www/default | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
<Directory /> | |
Options MultiViews SymLinksIfOwnerMatch | |
</Directory> | |
Redirect permanent /backuppc https://kouj.dyndns.org/backuppc | |
<Directory "/var/www/default/collection3"> | |
AllowOverride All | |
Order Deny,Allow | |
Deny from all | |
Allow from 127.0.0.1/255.0.0.0 ::1/128 | |
Allow from 192.168.0.0/28 2001:470:1d:358::/64 | |
</Directory> | |
ScriptAlias /smokeping/smokeping.cgi /usr/lib/cgi-bin/smokeping.cgi | |
<Directory "/usr/lib/cgi-bin/"> | |
Order Deny,Allow | |
Deny from all | |
Allow from 127.0.0.1/255.0.0.0 ::1/128 | |
Allow from 192.168.0.0/28 2001:470:1d:358::/64 | |
Options FollowSymLinks | |
</Directory> | |
Alias /smokeping /usr/share/smokeping/www | |
<Directory "/usr/share/smokeping/www"> | |
AllowOverride All | |
Order Deny,Allow | |
Deny from all | |
Allow from 127.0.0.1/255.0.0.0 ::1/128 | |
Allow from 192.168.0.0/28 2001:470:1d:358::/64 | |
Options FollowSymLinks | |
</Directory> | |
Alias /~k "/home/konu/public_html/" | |
<Directory "/home/konu/public_html/"> | |
AllowOverride FileInfo AuthConfig Limit Options Indexes | |
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec | |
</Directory> | |
</VirtualHost> | |
<IfModule mod_ssl.c> | |
<VirtualHost _default_:443> | |
ServerName kouj.dyndns.org | |
DocumentRoot /var/www/default | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
SSLEngine on | |
SSLCertificateFile /etc/ssl/certs/kouj.dyndns.org.crt | |
SSLCertificateKeyFile /etc/ssl/private/kouj.dyndns.org.key | |
<Directory /> | |
Options MultiViews SymLinksIfOwnerMatch | |
</Directory> | |
Alias /backuppc /usr/share/backuppc/cgi-bin/ | |
<Directory /usr/share/backuppc/cgi-bin/> | |
SSLRequireSSL | |
AllowOverride None | |
Options ExecCGI FollowSymlinks | |
AddHandler cgi-script .cgi | |
DirectoryIndex index.cgi | |
AuthType Basic | |
AuthName "BackupPC" | |
AuthBasicProvider external | |
AuthExternal pwauth | |
Require user konu | |
</Directory> | |
AddExternalAuth pwauth /usr/sbin/pwauth | |
SetExternalAuthMethod pwauth pipe | |
<Directory "/var/www/default/collection3"> | |
AllowOverride All | |
Order Deny,Allow | |
Deny from all | |
Allow from 127.0.0.1/255.0.0.0 ::1/128 | |
Allow from 192.168.0.0/28 2001:470:1d:358::/64 | |
</Directory> | |
ScriptAlias /smokeping/smokeping.cgi /usr/lib/cgi-bin/smokeping.cgi | |
<Directory "/usr/lib/cgi-bin/"> | |
Order Deny,Allow | |
Deny from all | |
Allow from 127.0.0.1/255.0.0.0 ::1/128 | |
Allow from 192.168.0.0/28 2001:470:1d:358::/64 | |
Options FollowSymLinks | |
</Directory> | |
Alias /smokeping /usr/share/smokeping/www | |
<Directory "/usr/share/smokeping/www"> | |
AllowOverride All | |
Order Deny,Allow | |
Deny from all | |
Allow from 127.0.0.1/255.0.0.0 ::1/128 | |
Allow from 192.168.0.0/28 2001:470:1d:358::/64 | |
Options FollowSymLinks | |
</Directory> | |
Alias /~k "/home/konu/public_html/" | |
<Directory "/home/konu/public_html/"> | |
AllowOverride FileInfo AuthConfig Limit Options Indexes | |
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec | |
</Directory> | |
</VirtualHost> | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment