Jump to content
Froxlor Forum
  • 0

Redirect zu froxlor Login Seite


kaileu

Question

Hi ich habe folgendes Problem.

Ich habe eine Domain die ich auf meine Webseite zeigen lasse. Eine Subdomain davon ist der Hostname des Servers und auch so in Froxlor Konfiguriert.

Wenn ich jetzt aber blabla.meinedomain.com eingebe, welche auf froxlor nicht eingerichtet ist, werde ich direkt zur Login Seite von Froxlor weitergeleitet. Kann man dieses Verhalten abstellen dass alles was nicht konfiguriert ist eine 403er Meldung anzeigt anstatt auf den Hostnamen/Froxlor Login Seite zu redirecten ?

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

Ich habe die Domain nicht explizit angelegt über Domain erstellen sondern über die Einstellungen Froxlor VirtualHost Einstellungen 

# 10_froxlor_ipandport_IP.80.conf
# Created 17.08.2017 01:45
# Do NOT manually edit this file, all changes will be deleted after the next domain change at the panel.
Listen IP:80
<VirtualHost IP:80>
DocumentRoot "/var/www/froxlor/"
 ServerName meine.domain.de
  <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{HTTPS} off
    RewriteCond %{REQUEST_URI} !^/\.well-known/acme-challenge
    RewriteRule ^/(.*) https://meine.domain.de/$1 [R=301;L,NE]
  </IfModule>
  <IfModule !mod_rewrite.c>
    Redirect 301 / https://meine.domain.de/
  </IfModule>
</VirtualHost>
 

# 10_froxlor_ipandport_IP.443.conf
# Created 17.08.2017 01:45
# Do NOT manually edit this file, all changes will be deleted after the next domain change at the panel.
Listen IP:443
<VirtualHost IP:443>
DocumentRoot "/var/www/froxlor/"
 ServerName meine.domain.de
  FastCgiExternalServer /var/www/php-fpm/froxlor.panel/meine.domain.de/e5f1.ssl-fpm.external -socket /var/lib/apache2/fastcgi/froxlor.panel-meine.domain.de-php-fpm.socket -idle-timeout 360
  <Directory "/var/www/froxlor/">
   <FilesMatch "\.(php)$">
     AddHandler php5-fastcgi .php
     Action php5-fastcgi /fastcgiphp
      Options +ExecCGI
    </FilesMatch>
    Require all granted
    AllowOverride All
  </Directory>
  Alias /fastcgiphp /var/www/php-fpm/froxlor.panel/meine.domain.de/e5f1.ssl-fpm.external
 SSLEngine On
 SSLProtocol -ALL +TLSv1 +TLSv1.2
 SSLCompression Off
 SSLHonorCipherOrder On
 SSLCipherSuite ECDHE-RSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA256:ECDHE-RSA-AES256-SHA:ECDHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES128-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:AES256-GCM-SHA384:AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:AES256-SHA:AES128-SHA:!aNULL:!eNULL:!EXPORT:!CAMELLIA:!3DES:!DES:!MD5:!PSK:!RC4:!RSA
 SSLVerifyDepth 10
 SSLCertificateFile /etc/ssl/froxlor-custom/meine.domain.de.crt
 SSLCertificateKeyFile /etc/ssl/froxlor-custom/meine.domain.de.key
 SSLCACertificateFile /etc/ssl/froxlor-custom/meine.domain.de_CA.pem
 SSLCertificateChainFile /etc/ssl/froxlor-custom/meine.domain.de_chain.pem
</VirtualHost>
Link to comment
Share on other sites

Ja das ist ja das was ich meinte.

für den ServerHostnamen gibt es keibe seperate vhost datei, da die Domain nicht angelegt ist.

test.domain.de und test2.domain.de existieren davon gibt es auch vhost Dateien aber von der eigentlichen Froxlor Login Seite gibt es nur den abschnitt aus den IP Konfigurationen.

Ich nehme an diese wird über die Einstellung froxlor direkt über den Hostnamen erreichbar machen erstellt.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...