The directory contains .htaccess and jpg files, php. When requesting php, I get error 403, when querying for a picture it loads.

 .htaccess order deny,allow deny from all 

Tried to add AllowOverride in /etc/apache2/vhosts/user/domain.com - did not help.

Ispmaneger is installed on the server.

I need to close everything in this folder - php files, pictures. Where to look?

  • What kind of php framework do you use? - Excess Gophers
  • Here is all that is used: IonCube Loader 6.0 Functions, extensions and libraries: iconv, mb, curl, gd, mcrypt, soap, gmpobject, strlen, sprintf, ip2long, serialize, unserialize, crypt, parse_str, json_encode, strtr, strstr, round , parse_url, simplexml_load_string, array_search - Elijah
  • Check access to the directory - is there enough rights? If there are rights, see the Apache logs on the server. Look at .htaccess in the root directory of the project, maybe there is something overwriting the path to the pictures. But 403 error usually occurs when there are insufficient rights to the files. - Alex Gorodok

0