Samba or Apache issue?

m.roth2006 at rcn.com m.roth2006 at rcn.com
Thu Apr 9 17:04:57 UTC 2009


Allen,

>Date: Thu, 09 Apr 2009 11:31:43 -0500
>From: Allen Chen <achen at harbourfrontcentre.com>  
>
>I have a samba 2.0.22 and a apache 2.2.3 running on a separate RHEL4
>machine.
>If I change apache DocumentRoot to a mounted samba share, I cannot see
>any static pages or files(images,css..) show up in broswer.In global
>settings of httpd.conf, if I use EnableMMAP off and EnableSendfile off
>options, this only changes apache access_log info from
>"GET /mypage/test.html HTTP/1.1" 206 1106
>to
>"GET /mypage/test.html HTTP/1.1" 200 -
>
>But any php page works fine. It looks like apache doesn't like mounted
>samba share. Any idea?

What's the ownership and permissions on the samba share, and are they the same as who apache's running as?

      mark




More information about the redhat-list mailing list