S
S
Senseich2017-10-05 11:02:10
1C-Bitrix
Senseich, 2017-10-05 11:02:10

Why are some images not displayed on 1C Bitrix after installation, error 403?

Hello! Such a trouble, I installed 1C Bitrix on the OpenServer locale, everything seems to be installed, but it doesn’t see some images although they are displayed in the prntscr.com/gthmov
code. If you open it in a new tab, it knocks out an error 403 prntscr.com/gthnee and on the prntscr.com panel /gtho7z
And there is also a css file with an error prntscr.com/gthpni, apparently because of it the layout at the bottom moved out
. I relied on access rights, but I have Windows, what access rights are there. Help me to understand!
Answer to the question: The
question was solved in the next branch: Why are the scripts of the Bitrix component template not connected?
As I suggested below, it was the paths that contained .default
There is a blocking rule in the Nginx settings on the Open Server. location ~ /\. {deny all;}
The problem is solved by deleting the line, or by commenting it out.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Filippenko, 2017-10-05
@alexfilus

What does a website check show?
It's still a matter of rights, but apparently at some other level)
What do you have in .htaccess?

A
Alexander N++, 2017-10-05
@sanchezzzhak

what does it say in the ngnix logs?
if the folder for ngnix is ​​not available as permissions, then it will be 403 +
open() "path" failed (13: Permission denied )
try in the folder where the site is, run
chown -R nginx:nginx "/var/www/myfolder"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question