Access to this resource on the server is denied!

Kaiji

New Member
#1
1712078038023.png

I installed this app on cyberpanel Open Light Speed, almalinux 8, apache server, php 8.2

I have made the subdomain s. mywebsite .com
Uploaded the files of yourls (link shortener server) to home /mywebsite /s. mywebsite
And when I want to proceed with installation of the server yourls at s.mywebsite .com /admin
I am getting this error
Access to this resource on the server is denied!

1712077884325.png

I followed their installation guide to a T, why am I getting this kind of error ?

Error from the error log file is
2024-04-01 02:20:45.548765 [ERROR] [344112] [88.177.83.116:64241-Q:5E9AF0669992F2F4-0] MIME type [application/x-httpd-php] for suffix ‘.php’ does not allow serving as static file, access denied!
2024-04-01 02:20:45.549180 [INFO] [344112] [88.177.83.116:64241-Q:5E9AF0669992F2F4-0] Content len: 0, request line: ‘GET /admin/ HTTP/1.1’


1712077948076.png

Apparently I need to add some stuff in here, but I am not sure how to do that
If anyone can help


1712077988233.png

Do I need to add an external apps also ? I hope not, it seems very complicated

Thank you for your support

Kaiji
 

Cold-Egg

Administrator
#2
The CyberPanel should take care of those external apps and handlers for you, so you should no need to add it via the OLS. May I know if the site was loading properly before implementing the yourls?
 

Kaiji

New Member
#3
website is loading perfectly, even now, but when I try to get to the installer at s.mywebsite.com/admin/

I get the error 403
 

Kaiji

New Member
#5
The CyberPanel should take care of those external apps and handlers for you, so you should no need to add it via the OLS. May I know if the site was loading properly before implementing the yourls?
s.mywebsite.com/index.htm works fine
s.mywebsite.com/info.php give error 403 as well
 

Kaiji

New Member
#6
Mhm, does creating a phpinfo page under that site also load fine?
I checked in more details

1712114373076.png

php.info works only in the mail domain so at mail.mywebsite.com
but php.info would not work at mywebsite.com or at the subdomain i added manually s.mydomain.com but the index html would work fine
 

Kaiji

New Member
#7
Mhm, does creating a phpinfo page under that site also load fine?

1712114624287.png

mail.mywebsite.com seems to be using php version 73 which is not the version I picked on cyberpanel when I made this website I picked 82

The sub domain or mail domain generated by cyberpanel seems to be using its own version of php regardless of what version we pick when making the website.
 
Last edited:
Top