lundi 20 juillet 2015

Load images outside apache directory

Well, I have a website in apache directory: /var/www/html. Previously I had all my web images in /var/www/html/media, so I used to put /media/imgX.jpgfor loading them. but now I need to put them in /mnt/imgs. For some reason, using this path does not work the same way as before.

I think it has something to do with permissions using files from outside apache directory but I am not sure about it. Any idea?




Aucun commentaire:

Enregistrer un commentaire