#Request failed with status code 404
29 messages · Page 1 of 1 (latest)
and some more errors
Doesnt understand why, i followed this https://pterodactyl.io/panel/1.0/getting_started.html tutorial
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
Based on my testing, there is something wrong with your apache configuration. Make sure you used the templated provided in the docs
The documentation you are looking for can be found at https://pterodactyl.io/.
i did, here it is:
<VirtualHost *:80>
ServerName panel.umidy.net
DocumentRoot /var/www/html/panel/public
AllowEncodedSlashes On
<Directory /var/www/html/panel/public>
AllowOverride None
Require all granted
</Directory>
ErrorLog ${APACHE_LOG_DIR}/pterodactyl_error.log
CustomLog ${APACHE_LOG_DIR}/pterodactyl_access.log combined
<FilesMatch ".+\.ph(?:ar|p|tml)$">
SetHandler "proxy:unix:/run/php/php8.2-fpm.sock|fcgi://localhost"
</FilesMatch>
<FilesMatch ".+\.phps$">
Require all denied
</FilesMatch>
<FilesMatch "^\.ph(?:ar|p|ps|tml)$">
Require all denied
</FilesMatch>
</VirtualHost>
Well that doesn't match the docs at all.
You can't just make suff up and expect it to work
for starters, php 8.2 isn't supported. and the docs tell you that
but that's not the only change you've made
If you must make changes, at least start with the config from the docs
I've removed php8.2 etc
And installed php8.1 with the code from the docs
but now the code is not getting executed
PHP 8.1.18 (cli) (built: May 17 2023 15:59:20) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.18, Copyright (c) Zend Technologies
with Zend OPcache v8.1.18, Copyright (c), by Zend Technologies
But php is definitely installed
DId you install the php apache module ?
I'm stupid.
Now i did.
But still not working with this conf :/
ServerName panel.umidy.net
DocumentRoot /var/www/html/panel/public
AllowEncodedSlashes On
<Directory /var/www/html/panel/public>
AllowOverride None
Require all granted
</Directory>
</VirtualHost>
If you refuse to follow the docs I can't really help you
i follow the docs :c
This
https://pterodactyl.io/panel/1.0/webserver_configuration.html#apache-without-ssl
and this
https://pterodactyl.io/panel/1.0/getting_started.html
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
Pterodactyl is an open-source game server management panel built with PHP, React, and Go. Designed with security in mind, Pterodactyl runs all game servers in isolated Docker containers while exposing a beautiful and intuitive UI to end users.
Except you're not following that. Because your config is wrong
ServerName <domain>
DocumentRoot "/var/www/html/panel/public"
AllowEncodedSlashes On
php_value upload_max_filesize 100M
php_value post_max_size 100M
<Directory "/var/www/html/panel/public">
AllowOverride all
Require all granted
</Directory>
</VirtualHost>```
Sorry for that.
Now its correct.
still not working after restart
no
im stupid
just saw the <domain> haha
somehow working anyways, but cannot be right xD
sso changed domain, but still the same weird 404 error
Looks fine here. Clear browser cache/try another browser
thx ❤️