I
I
itgraine2019-06-12 02:25:17
LAMP
itgraine, 2019-06-12 02:25:17

Access to php script is denied if it is in a subfolder?

Guys tell me!
A web server is set up for ubuntu and sites work on it, there is also a php script for working with a third-party service that I threw into a separate folder in the root of the site, but for some reason as soon as I try to execute the script through the browser http://site.ru/ folder/script.php the server returns me a 403 error, the same thing if I created the info.php file, if they throw the script into the root of the site, then it works but does not want to be in a separate folder. In the logs I looked there something was said about the fact that .htaccess index.php was not found in the folder, etc. What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
klepiku, 2019-06-12
@klepiku

the rights of the folder itself and the script
nfonts.blogspot.com/2011/09/ubuntu.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question