Answer the question
In order to leave comments, you need to log in
How to specify the path to the home directory in HTACCESS in one variable?
Hello. I am new to PHP. I wrote a php script, placed the file in the main directory on the hosting and I want it to be processed every time a person visits any page of my site.
To do this, I wrote the following in HTACCESS:
php_value auto_prepend_file /home/блаблабла/public_html/antiddos.php
php_value auto_prepend_file https://%{SERVER_NAME}/antiddos.php
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question