Re: [us...@httpd] apache cannot display images

2009-05-11 Thread Matus UHLAR - fantomas
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, uh...@fantomas.sk ; 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-unsubscr...@httpd.apache.org
  from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] apache cannot display images

2009-05-09 Thread André Warnier

Igor Cicimov wrote:

The folder where you put the image and the image itself should be world
readable.


If that was the issue, then the OP would get a forbidden response, not 
a non-available.




On Sat, May 9, 2009 at 5:51 AM, André Warnier a...@ice-sa.com wrote:


jeremy co wrote:


Hi,

I'm pretty new to apache , I haven't change httpd.conf much yet, just root
directory changed.


what happen is I put jpg file in root directory and try to c=access it via
,
www.somedomain.com/pic.jpg

and I get url of file instead in firefox and  in IE I get image not
displayed thumbnail with propertise of filetype not available

I guess apache wouldn't send content type to browser but jpeg Mime is in
effect by default.

What am I miss here?

 That we do not know yet.

But people who would like to help you, may miss :
- the kind of system on which this Apache is running
- what version of Apache this is
- what exactly did you change in httpd.conf ?
- are you running these browsers on the same machine where Apache is
installed or not ? Can you describe your configuration a little bit ?



-
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-unsubscr...@httpd.apache.org
from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org







-
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-unsubscr...@httpd.apache.org
 from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[us...@httpd] apache cannot display images

2009-05-08 Thread jeremy co
Hi,

I'm pretty new to apache , I haven't change httpd.conf much yet, just root
directory changed.


what happen is I put jpg file in root directory and try to c=access it via ,
www.somedomain.com/pic.jpg

and I get url of file instead in firefox and  in IE I get image not
displayed thumbnail with propertise of filetype not available

I guess apache wouldn't send content type to browser but jpeg Mime is in
effect by default.

What am I miss here?


Jeremy


Re: [us...@httpd] apache cannot display images

2009-05-08 Thread André Warnier

jeremy co wrote:

Hi,

I'm pretty new to apache , I haven't change httpd.conf much yet, just root
directory changed.


what happen is I put jpg file in root directory and try to c=access it via ,
www.somedomain.com/pic.jpg

and I get url of file instead in firefox and  in IE I get image not
displayed thumbnail with propertise of filetype not available

I guess apache wouldn't send content type to browser but jpeg Mime is in
effect by default.

What am I miss here?


That we do not know yet.

But people who would like to help you, may miss :
- the kind of system on which this Apache is running
- what version of Apache this is
- what exactly did you change in httpd.conf ?
- are you running these browsers on the same machine where Apache is 
installed or not ? Can you describe your configuration a little bit ?




-
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-unsubscr...@httpd.apache.org
 from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [us...@httpd] apache cannot display images

2009-05-08 Thread Igor Cicimov
The folder where you put the image and the image itself should be world
readable.

On Sat, May 9, 2009 at 5:51 AM, André Warnier a...@ice-sa.com wrote:

 jeremy co wrote:

 Hi,

 I'm pretty new to apache , I haven't change httpd.conf much yet, just root
 directory changed.


 what happen is I put jpg file in root directory and try to c=access it via
 ,
 www.somedomain.com/pic.jpg

 and I get url of file instead in firefox and  in IE I get image not
 displayed thumbnail with propertise of filetype not available

 I guess apache wouldn't send content type to browser but jpeg Mime is in
 effect by default.

 What am I miss here?

  That we do not know yet.

 But people who would like to help you, may miss :
 - the kind of system on which this Apache is running
 - what version of Apache this is
 - what exactly did you change in httpd.conf ?
 - are you running these browsers on the same machine where Apache is
 installed or not ? Can you describe your configuration a little bit ?



 -
 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-unsubscr...@httpd.apache.org
 from the digest: users-digest-unsubscr...@httpd.apache.org
 For additional commands, e-mail: users-h...@httpd.apache.org