Answer the question
In order to leave comments, you need to log in
How to use .htaccess to connect a js script from a file to all your domains?
There is a js script main.js. There is a list of domains on one server:
folder domen1.ru
folder domen2.ru
folder domen3.ru
folder domen4.ru
folder xxx
How to connect main.js to all domains without getting into each index.html of each domain?
Answer the question
In order to leave comments, you need to log in
посмотрите в сторону директивы auto_append_file
вот дока php.net/manual/ru/ini.core.php#ini.auto_append_file
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question