This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Pages: [1]
1
Apache / Re-build Apache with libapache2-mod-php?
« on: December 13, 2023, 10:09:50 PM »
Hello, I am trying to install a game panel control(https://pterodactyl.io/panel/1.0/webserver_configuration.html#apache-with-ssl), which requires libapache2-mod-php. How to rebuild apache with this module in WebServer Settings->Apache Rebuild? What option should I add?
2
CentOS 8 Problems / 403 Forbidden -- Pterodactyl Web Panel Error
« on: December 12, 2023, 06:56:25 PM »
Hello! I am trying to install the Pterodactyl Game Panel through CWP. I have downloaded the panel(https://pterodactyl.io/panel/1.0/getting_started.html#download-files) in my /home/domainName/public_html/panel folder and I have fallowed all the steps, but changing some configuration to the right location for this. The problem is, when I'm trying to access the web panel through my browser, it gives me "403 Forbidden You don't have permission to access this resource.". Why is that? Am I getting something wrong?
Configuration I changed from the tutorial:
chown -R domainName:DomainName /home/domainName/public_html/panel/* (turns out that CWP is using the user name for handling apache (hope I'm not mistaken) )
for Crontab: * * * * * php /home/domainName/public_html/panel/artisan schedule:run >> /dev/null 2>&1
modified /etc/systemd/system/pteroq.service to this:
Configuration I changed from the tutorial:
chown -R domainName:DomainName /home/domainName/public_html/panel/* (turns out that CWP is using the user name for handling apache (hope I'm not mistaken) )
for Crontab: * * * * * php /home/domainName/public_html/panel/artisan schedule:run >> /dev/null 2>&1
modified /etc/systemd/system/pteroq.service to this:
Code: [Select]
# Pterodactyl Queue Worker File
# ----------------------------------
[Unit]
Description=Pterodactyl Queue Worker
After=redis.service
[Service]
# On some systems the user and group might be different.
# Some systems use `apache` or `nginx` as the user and group.
User=domainName
Group=domainName
Restart=always
ExecStart=/usr/bin/php /home/domainName/public_html/panel/artisan queue:work --queue=high,standard,low --sleep=3 --tries=3
StartLimitInterval=180
StartLimitBurst=30
RestartSec=5s
[Install]
WantedBy=multi-user.target
Thank you so much! (as for CWP is newly fresh installed, so it's the latest version and my OS is Alma Linux 8, if it helps)
Pages: [1]