[3.3] FAQ und password forgotten falsch, da direkter Pfad
Verfasst: 16.06.2021 15:17
Hallo,
neues Forum aufgesetzt. Hinter 2 Proxyservern:
https://www.xyz.de mittels proxy => www.xyz.de server1 (hinter firewall)
server1 proxy
phpBB3-forum (aktuellste 3.3.4) auf server2 = http://www.xyz.de/forum (hinter firewall)
server2, da server1 eine zu alte php-Version hat - soll upgegraded werden, aber es gibt einige
Hinderungspunkte da auf diesem eine sehr aktive webseite laeuft, etc....
auch Quick Links zeigt richtig auf www.xyz.de/forum/ucp.php......
funktioniert alles, registrieren, anmelden....., bis auf:
FAQ => https://www.xyz.de/phpBB3/app.php/help/faq%sid....
und
Password forgotten => https://www.xyz.de/phpBB3/app.php/user/forgot_password.....
Was natuerlich nicht funktioniert da auf server1 ja zu alte php-version und ausserdem ist
es der falsche server
Der apache-webserver auf server2 hat diese Konfig:
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
ServerName www.xyz.de/forum
ServerAdmin webmaster@localhost
# DocumentRoot /var/www/html
DocumentRoot /var/www/html/
/var/www => /local_home/www/
ls -al /home_local/www/html/
total 36
drwxr-xr-x 3 www-data root 4096 Apr 30 15:00 .
drwxr-xr-x 3 www-data root 4096 Apr 30 14:57 ..
-rwxrwxr-x 1 www-data 19933 1928 Jul 10 2017 header.php
---------- 1 www-data root 10928 Apr 30 15:00 index.html
-rwxr-xr-x 1 www-data xxxx 2417 Mar 22 12:40 index_new.php
drwxr-xr-x 20 www-data root 4096 Jun 16 09:44 phpBB3
-rwxrwxr-x 1 www-data xxxx 341 Mar 22 12:11 test-1.php
Waer fuer jede Idee dankbar.
Gruss,
Harald Baumgartner
neues Forum aufgesetzt. Hinter 2 Proxyservern:
https://www.xyz.de mittels proxy => www.xyz.de server1 (hinter firewall)
server1 proxy
phpBB3-forum (aktuellste 3.3.4) auf server2 = http://www.xyz.de/forum (hinter firewall)
server2, da server1 eine zu alte php-Version hat - soll upgegraded werden, aber es gibt einige
Hinderungspunkte da auf diesem eine sehr aktive webseite laeuft, etc....
auch Quick Links zeigt richtig auf www.xyz.de/forum/ucp.php......
funktioniert alles, registrieren, anmelden....., bis auf:
FAQ => https://www.xyz.de/phpBB3/app.php/help/faq%sid....
und
Password forgotten => https://www.xyz.de/phpBB3/app.php/user/forgot_password.....
Was natuerlich nicht funktioniert da auf server1 ja zu alte php-version und ausserdem ist
es der falsche server
Der apache-webserver auf server2 hat diese Konfig:
<VirtualHost *:80>
# The ServerName directive sets the request scheme, hostname and port that
# the server uses to identify itself. This is used when creating
# redirection URLs. In the context of virtual hosts, the ServerName
# specifies what hostname must appear in the request's Host: header to
# match this virtual host. For the default virtual host (this file) this
# value is not decisive as it is used as a last resort host regardless.
# However, you must set it for any further virtual host explicitly.
ServerName www.xyz.de/forum
ServerAdmin webmaster@localhost
# DocumentRoot /var/www/html
DocumentRoot /var/www/html/
/var/www => /local_home/www/
ls -al /home_local/www/html/
total 36
drwxr-xr-x 3 www-data root 4096 Apr 30 15:00 .
drwxr-xr-x 3 www-data root 4096 Apr 30 14:57 ..
-rwxrwxr-x 1 www-data 19933 1928 Jul 10 2017 header.php
---------- 1 www-data root 10928 Apr 30 15:00 index.html
-rwxr-xr-x 1 www-data xxxx 2417 Mar 22 12:40 index_new.php
drwxr-xr-x 20 www-data root 4096 Jun 16 09:44 phpBB3
-rwxrwxr-x 1 www-data xxxx 341 Mar 22 12:11 test-1.php
Waer fuer jede Idee dankbar.
Gruss,
Harald Baumgartner