• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Resolved Issue with HTTP/3 Activation on WOLTLAB Forum Administration

Ankebut

Regular Pleskian
Server operating system version
Ubuntu 22.04.4 LTS
Plesk version and microupdate number
Version 18.0.61 Update #1
When I enable HTTP3, I am unable to access the administration panel of my forum running on the WOLTLAB engine. I always receive the error message "Undefined array key 'HTTP_HOST'".
 

Attachments

  • Bildschirmfoto 2024-05-19 um 19.14.17.png
    Bildschirmfoto 2024-05-19 um 19.14.17.png
    387.4 KB · Views: 21
Seems to be a know issue with Nginx and PHP.

As a workaround you can try setting the host manual (instead of using a variable) in the Additional nginx directives of the domain.
 
Last edited:
Is Proxy Mode disabled for the domain?

If so, when you create a new PHP (for example mytest.php) and add the following code to
Code:
<pre>
<?php
print_r($_SERVER);
?>

Does it output the HTTP_HOST variable?
 
Array
(
[USER] => industriemeister-forum.de
[HOME] => /var/www/vhosts/industriemeister-forum.de
[HTTP_COOKIE] => XSRF-TOKEN=7dbd6f6ffa17f402e09ac9178437907e9085634f81cf7ccd3315660b3072edf5-F00mXZ1v%2BFmAs6mprd7w9A%3D%3D; _ga=GA1.1.1969292024.1716140353; wsc_130f30_user_session=a7a9baa7eb43614556ec7e4439a033846d7d10e78513380699a77f03aa87ac2f-AUNonFpRarsrUFEsG5faSdv3D9jZlg%3D%3D; _ga_DHHDR0WJ7H=GS1.1.1716140353.1.1.1716142205.0.0.0
[HTTP_PRIORITY] => u=0, i
[HTTP_ACCEPT_LANGUAGE] => de-DE,de;q=0.9,en;q=0.8,tr;q=0.7,zh-CN;q=0.6,zh;q=0.5
[HTTP_ACCEPT_ENCODING] => gzip, deflate, br, zstd
[HTTP_REFERER] => Plesk Forum
[HTTP_SEC_FETCH_DEST] => document
[HTTP_SEC_FETCH_USER] => ?1
[HTTP_SEC_FETCH_MODE] => navigate
[HTTP_SEC_FETCH_SITE] => cross-site
[HTTP_ACCEPT] => text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
[HTTP_USER_AGENT] => Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36
[HTTP_UPGRADE_INSECURE_REQUESTS] => 1
[HTTP_SEC_CH_UA_PLATFORM] => "macOS"
[HTTP_SEC_CH_UA_MOBILE] => ?0
[HTTP_SEC_CH_UA] => "Google Chrome";v="125", "Chromium";v="125", "Not.A/Brand";v="24"
[REDIRECT_STATUS] => 200
[SERVER_NAME] => industriemeister-forum.de
[SERVER_PORT] => 443
[SERVER_ADDR] => 2a01:4f8:162:7103::2
[REMOTE_PORT] => 54760
[REMOTE_ADDR] => 2003:f2:4f35:dd00:1a4:f637:1127:d851
[SERVER_SOFTWARE] => nginx/1.26.0
[GATEWAY_INTERFACE] => CGI/1.1
[HTTPS] => on
[REQUEST_SCHEME] => https
[SERVER_PROTOCOL] => HTTP/3.0
[DOCUMENT_ROOT] => /var/www/vhosts/industriemeister-forum.de/httpdocs
[DOCUMENT_URI] => /mytest.php
[REQUEST_URI] => /mytest.php
[SCRIPT_NAME] => /mytest.php
[CONTENT_LENGTH] =>
[CONTENT_TYPE] =>
[REQUEST_METHOD] => GET
[QUERY_STRING] =>
[SCRIPT_FILENAME] => /var/www/vhosts/industriemeister-forum.de/httpdocs/mytest.php
[PATH_INFO] =>
[FCGI_ROLE] => RESPONDER
[PHP_SELF] => /mytest.php
[REQUEST_TIME_FLOAT] => 1716152265.4315
[REQUEST_TIME] => 1716152265
)
 
Be aware that the fastcgi.conf file might get overwritten when Plesk updates. The next hotfix is going to be released soon, so I recommend keeping an eye on the file to see if it gets changed.
 
Be aware that the fastcgi.conf file might get overwritten when Plesk updates. The next hotfix is going to be released soon, so I recommend keeping an eye on the file to see if it gets changed.
Regarding the code

fastcgi_param HTTP_HOST $host;

does it work on the nginx additional directives (to avoide overwritten when Plesk updates)?
 
Back
Top