Re: Apache issue with NFS mount

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

 



What an immature response, what are you doing here exactly jeffery? then again your ISP is peoplepc... so much for credibility.

To answer the question, have you done something like this in your Apache configuration:

<Directory /var/www/html/content>
Options +Indexes
</Directory>

What does the log (error_log) say about the 403. Last but not least I had to disable Sendfile in order to get images to load on a NFS or CIFS mount.

On 1/4/07, jeffery bayliss <jefferybayliss@xxxxxxxxxxxx> wrote:
Because Apache sucks.

-----Original Message-----
>From: Jonathan Cleaver <jcleaver.hq@xxxxxxxxx>
>Sent: Jan 3, 2007 4:26 AM
>To: users@xxxxxxxxxxxxxxxx
>Subject:   Apache issue with NFS mount
>
>Hi there,
>
>I have an Apache instance (2.0.52) running on RHEL4 built for x86_64.
>This server is largely running just fine, except for one issue that I
>have encountered in the last couple of days.
>
>I wish to serve a bunch of material from a folder that is mounted as an
>NFS share. Apache can see the mount point as a folder before the mount
>has taken place - it appears in the fancy index for the parent folder.
>However, as soon as I actually carry out the mount, the folder
>disappears from the index and I get a 403 returned when I actually try
>to look directly at the folder. From the Command Line, I can view and
>manipulate the data seamlessly.
>
>The fstab mount line looks like:
>1.2.3.4:/foo/bar /var/www/html/content nfs user,rw,auto,async
>
>I have tried setting the owner of the files to user 'apache', and this
>was correctly applied to the NFS Server as well but no joy.
>
>Does anyone have any thoughts as to why this might be happening? I
>thought that NFS was supposed to be seamless - so I am rather confused
>as to why Apache is seeing a difference between regular folders and
>NFS-mounted ones!
>
>Many thanks in advance.
>
>Jonathan Cleaver
>Defence Academy of the United Kingdom
>
>
>---------------------------------------------------------------------
>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
>


________________________________________
PeoplePC Online
A better way to Internet
http://www.peoplepc.com

---------------------------------------------------------------------
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