Re: apache cannot display images

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 09.05.09 09:35, Igor Cicimov wrote:
> The folder where you put the image and the image itself should be world
> readable.

No.

It just has to be accessible by apache process, on un*x it means that only
'execute' bit is required for either user or group apache is running at.

e.g.

User httpd
Group httpd

drwx--x--- 2 uhlar httpd 4096 Feb 26 14:53 /home/webs/www.fantomas.sk/images/

will be just enough.

the 'read' permission is only required for cases any of modules needs to get
the directory listing, e.g. directory listing by "Options Indexes",
content negotiation by "Options Multiviews" or mistakes checked by
mod_speling.
-- 
Matus UHLAR - fantomas, uhlar@xxxxxxxxxxx ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
"One World. One Web. One Program." - Microsoft promotional advertisement
"Ein Volk, ein Reich, ein Fuhrer!" - Adolf Hitler

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux