Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen Revision Vorhergehende Überarbeitung | |||
tachtler:postfix_admin [2018/09/08 07:22] klaus [/var/www/postfixadmin/templates_c] |
tachtler:postfix_admin [2018/09/08 07:24] (aktuell) klaus [Apache Webserver] |
||
---|---|---|---|
Zeile 202: | Zeile 202: | ||
DocumentRoot "/var/www/postfixadmin" | DocumentRoot "/var/www/postfixadmin" | ||
<Directory "/var/www/postfixadmin"> | <Directory "/var/www/postfixadmin"> | ||
+ | Options -Indexes | ||
+ | AllowOverride None | ||
+ | Require all granted | ||
+ | </Directory> | ||
+ | <File "setup.php"> | ||
+ | Options -Indexes | ||
+ | AllowOverride None | ||
+ | Require ip 127.0.0.1/8 | ||
+ | </File> | ||
+ | DirectoryIndex index.php | ||
+ | ErrorLog logs/postfixadmin_error.log | ||
+ | CustomLog logs/postfixadmin_access.log combined | ||
+ | </VirtualHost> | ||
+ | </code> | ||
+ | |||
+ | **__Apache 2.4 und [[http://postfixadmin.sourceforge.net/|Postfix Admin]] Version 3.2__ **: | ||
+ | <code apache> | ||
+ | # | ||
+ | # postfixadmin.tachtler.net | ||
+ | # | ||
+ | <VirtualHost *:80> | ||
+ | ServerAdmin webmaster@tachtler.net | ||
+ | ServerName postfixadmin.tachtler.net | ||
+ | ServerAlias www.postfixadmin.tachtler.net | ||
+ | ServerPath / | ||
+ | Alias /postfixadmin/ /var/www/postfixadmin/public | ||
+ | DocumentRoot "/var/www/postfixadmin/public" | ||
+ | <Directory "/var/www/postfixadmin/public"> | ||
Options -Indexes | Options -Indexes | ||
AllowOverride None | AllowOverride None |