
| Current Path : /var/mail/etc/apache2/sites-available/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : /var/mail/etc/apache2/sites-available/_www.ift-informatik_old.de |
<VirtualHost *:80>
DocumentRoot /var/www/ift-informatik.de
ServerName ift-informatik.de
ServerAlias www.ift-informatik.de
Redirect permanent / https://www.ift-informatik.de/
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost *:443>
DocumentRoot /var/www/ift-informatik.de
ServerName ift-informatik.de
ServerAlias www.ift-informatik.de
<Directory />
Options +FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
<Directory /var/www/ift-informatik.de>
Options +FollowSymLinks
AllowOverride All
Order allow,deny
allow from all
</Directory>
<IfModule mod_authnz_external.c>
AddExternalAuth pwauth /usr/sbin/pwauth
SetExternalAuthMethod pwauth pipe
</IfModule>
LogLevel debug
ErrorLog ${APACHE_LOG_DIR}/error_intern.log
CustomLog ${APACHE_LOG_DIR}/access_intern.log combined
Include /etc/letsencrypt/options-ssl-apache.conf
<Directory "/var/www/repos">
RewriteEngine on
RewriteBase "/var/www/repos"
RewriteCond "$1.git" -f
RewriteRule "^(.*)$" "$1.git"
</Directory>
<Location ~ ^/repos/DEV\.(.*).git>
AuthType Basic
AuthName "Restricted Area"
AuthBasicProvider external
AuthExternal pwauth
Require unix-group ift
</Location>
<Location ~ ^/repos/M\.(.*).git>
AuthType Basic
AuthName "Restricted Area"
AuthBasicProvider external
AuthExternal pwauth
Require unix-group ift
</Location>
<Location ~ ^/repos/O\.(.*).git>
AuthType Basic
AuthName "Restricted Area"
AuthBasicProvider external
AuthExternal pwauth
Require unix-group hr
</Location>
<Location ~ ^/repos/C\.(.*).git>
AuthType Basic
AuthName "Restricted Area"
AuthBasicProvider external
AuthExternal pwauth
Require user cgabriel
</Location>
<Location ~ ^/repos/_C\.(.*).git>
AuthType Basic
AuthName "Restricted Area"
AuthBasicProvider external
AuthExternal pwauth
Require user cgabriel
</Location>
SSLCertificateFile /etc/letsencrypt/live/ift-informatik.de-0001/cert.pem
SSLCertificateKeyFile /etc/letsencrypt/live/ift-informatik.de-0001/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
SSLCertificateChainFile /etc/letsencrypt/live/ift-informatik.de-0001/chain.pem
</VirtualHost>
</IfModule>