I
I
IvanN7772018-03-19 07:46:19
Apache HTTP Server
IvanN777, 2018-03-19 07:46:19

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

2 answer(s)
C
CityCat4, 2018-03-19
@IvanN777

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>

G
Gleb Starkov, 2018-03-19
@colonel

Apache can be given access to any directory.
But what's with the cron?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question