Answer the question
In order to leave comments, you need to log in
Is it possible to give apache access to a server directory that is not in the www folder?
There is a cron job, it runs a script that does not take parameters, that is, it is safe.
Also it would be desirable to write down in a directory on the server.
I do it through rename
But the catch is that the directory is not in the www folder.
Nakroynyak you can connect rsync but it's like a crutch.
Answer the question
In order to leave comments, you need to log in
No problem :)
Alias /phpMyAdmin /usr/share/phpMyAdmin
<Directory /usr/share/phpMyAdmin/>
<IfModule mod_authz_core.c>
Order Deny,Allow
Deny from All
Allow from 127.0.0.1
Allow from 10.87.1
</IfModule>
</Directory>
Apache can be given access to any directory.
But what's with the cron?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question