LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 08-21-2008, 10:16 PM   #1
r3sistance
Senior Member
 
Registered: Mar 2004
Location: UK
Distribution: CentOS 5.4, Mac OS 10.4 (tiger)
Posts: 1,005

Rep: Reputation: 79
httpd : mounted iso causes 403


I'll try and keep this simple, basically I mount a .iso image to a directory within my root directory as defined in httpd.conf. Using the command

mount -o ro,loop cdimage.iso directory

However before this mount the directory is accessable (tho empty) but after it I become unable to access the directory anymore with a 403 - permission denied. I am mainly interested in this as an easy way to host CD images for creating Xen VMs. Anybody got any idea why the permissions on the directory change after the mount and how to stop it occuring?

P.S. opps, posted this in the wrong section, could a moderator be nice and move this for me :X.

Last edited by r3sistance; 08-21-2008 at 10:44 PM. Reason: P.S.
 
Old 08-21-2008, 11:56 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 69
Check permissions on the directory after the images is mounted on it. If the process that Apache runs as cannot read the directory or it's contents, you won't be able to access them through httpd.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Webmin httpd.conf get 403 error craig_panama Linux - Server 4 02-23-2008 04:57 AM
httpd 403 forbidden index.html question Amuro-Ray2020 Linux - Server 1 07-11-2007 07:00 PM
httpd ,error num:403 hrajabi Linux - Networking 1 10-17-2005 01:37 PM
httpd returns 403 for no apperent reason all of a sudden guardian653 Linux - Security 3 11-04-2003 12:48 PM
403 forbidden access on httpd service roguecoolman Linux - Newbie 1 09-23-2003 05:08 PM


All times are GMT -5. The time now is 06:11 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration