D
D
Dmitry Boytsov2020-05-21 11:05:57
Apache HTTP Server
Dmitry Boytsov, 2020-05-21 11:05:57

Where can I place my project in Bitrix 24 box?

I tried to put the project in the folders of the Bitrix24 box, the security scanner swears moved to another folder - the rights to css are gone and PHP is not executed.
The question is where to create a folder for the project, how to set up the rights correctly, what to register in Apache?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
O
Official account of the Timeweb team, 2020-05-21
@timeweb_team

Without initial data on specific changes and settings, it will not be possible to clearly indicate the cause.
At the beginning, you need to decide which error is returned by the scanner, a detailed description is available on the Bitrix website:
https://dev.1c-bitrix.ru/community/blogs/informati...
The problem is most likely related either to the rights to the hosted folder and the owner of the folder (by default, the owner and group must be bitrix), or with the absence of the necessary changes in the virtual host file (nginx or apache).
Check if the paths are correct. If directives with absolute paths were added to the .htaccess file, then they also need to be changed.
And, of course, after changing the configuration files, both web servers need to be restarted:
systemctl restart httpd
systemctl restart nginx
You should also check the correctness of the paths in the settings, in the menu "Product settings" > "Sites" > "List of sites".

M
Mikhail T, 2021-01-28
@Mikhail_01

to the folder with all other (non-default) sites /home/bitrix

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question