Guten Morgen zusammen,
ich habe ein Wiki aufgesetzt für interne Zwecke und wie gewohnt im vHost (für Port 80) die Umleitung eingefügt. Apache selbstverständlich neu gestartet. Nun stelle ich fest, dass ich nicht umgeleitet werde, wenn ich den FF oder Chrome verwende und auf die http-Seite gehe. Eine Idee?
Danke und Grüße
Code:<VirtualHost *:80> DocumentRoot /var/www/bluespice ServerName 192.168.x.xxx #Redirect permanent / https://172.19.x.xxx/ Redirect 301 / https://172.19.x.xxx/ RewriteEngine On RewriteRule ^/*$ %{DOCUMENT_ROOT}/index.php [L] RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/index.php [L] <Directory /var/www/bluespice> Options FollowSymLinks MultiViews AllowOverride None Require all granted </Directory> <Directory /var/www/bluespice/images> AllowOverride None AddType text/plain .html .htm .shtml .phtml .php .php3 .php4 .php5 .php7 php_admin_flag engine off Require all granted </Directory> <Directory /var/www/bluespice/cache> Require all denied </Directory> <DirectoryMatch .git> Require all denied </DirectoryMatch> ErrorLog ${APACHE_LOG_DIR}/error-bluespice.log LogLevel warn CustomLog ${APACHE_LOG_DIR}/access-bluespice.log combined ServerSignature On </VirtualHost>
Lesezeichen