Answer the question
In order to leave comments, you need to log in
.htaccess and engine.php one level up, how?
task:
there is a folder /home/serv/sub/ where the domain refers
, all requests must be sent to the /home/serv/engine.php file, i.e. Parent topic How to
configure .htaccess?
Answer the question
In order to leave comments, you need to log in
Forget about .htaccess - it will be easier to switch to nginx. In this case, use index.php
.htaccess won't help. It can only redirect inside the DocumentRoot. Logging out through ../ rules .htaccess is not possible.
So it remains only to edit the VirtualHost, if there is access. Or, as advised above, symlinks or fake index.php.
What does .htaccess have to do with it? How do you send requests for that file if the domain is connected down the tree? With include?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question