Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

apache finding second hard drive

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Proxy and internal access  
Author Message
stuart_miller

External


Since: May 11, 2004
Posts: 55



(Msg. 1) Posted: Fri Aug 27, 2004 9:00 am
Post subject: apache finding second hard drive
Archived from groups: alt>apache>configuration (more info?)

I installed a second hard drive hdb with hdb1 etc with a mount point
inside of my web server root. I had this working fine, until a power failure
disrupted things, and now I can't get it back.

The two vfat partitions are, for example mounted as /webstuff/newfiles1 and
/webstuff/newfiles2
With the second drive unmounted, the directories are owned by root and show
drwxr-xr-x and can be entered by apache. Of course they are empty, but with
indexes enabled I can 'see' them from the client.

When I do mount -a, the mount works, but they show drwxr--r-- and the
client gets error 403 forbidden.
Chmod apparently works chmod a+x newfiles1 gives mode changed to
rwxr-xr-x, but when I do ls-l the permissions did not change and the client
still can't get access.

From what I have done in the past months, it seems to be necessary to have
rwxr-xr-x on any directory so apache can access it. Is this correct?
Is there some way to change the permissions when a drive is mounted?
This is getting to me, because I had it working, and I don't recall having
this problem last week. I did have to change permissions on all the files on
hdb, but that was easily done. The drives are currently mounted rw, and I
verified that I can write to them as root.

Thanks

Stuart

 >> Stay informed about: apache finding second hard drive 
Back to top
Login to vote
davideyeahsure

External


Since: Nov 03, 2003
Posts: 2907



(Msg. 2) Posted: Fri Aug 27, 2004 9:21 am
Post subject: Re: apache finding second hard drive [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On 2004-08-27, Stuart Miller <stuart_miller RemoveThis @shaw.ca> wrote:
 > When I do mount -a, the mount works, but they show drwxr--r-- and the
 > client gets error 403 forbidden.

Fix your /etc/fstab and eventually the permission on /dev/hdb.
This has nothing to do with Apache.

Davide


--
Frobnicate, v.:
  To manipulate or adjust, to tweak. Derived from FROBNITZ.
Usually abbreviated to FROB. Thus one has the saying "to frob a
frob". See TWEAK and TWIDDLE. Usage: FROB, TWIDDLE, and TWEAK
sometimes connote points along a continuum. FROB connotes aimless
manipulation; TWIDDLE connotes gross manipulation, often a coarse
search for a proper setting; TWEAK connotes fine-tuning. If someone is
turning a knob on an oscilloscope, then if he's carefully adjusting it
he is probably tweaking it; if he is just turning it but looking at the
screen he is probably twiddling it; but if he's just doing it because
turning a knob is fun, he's frobbing it.<!-- ~MESSAGE_AFTER~ -->

 >> Stay informed about: apache finding second hard drive 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Using Two Hard Drives/Particians With Apache - Hi there, I have two separate patricians. All I need to know is, is it possible to use two hard drives and share from both. If so, how? Thanks Scott

restarting apache for windows. not finding .pid file? - I have apache 1.3.28 running on windows. When i try to shutdown or restart apache I get a error saying 'cannot read apache PID file' and shows a path. That file is not in the shown path. How do i create the PID file? What do I put in it? Thanks for your...

apache-tomcat jk2, struts problem finding formbean.do files - I have tomcat running my struts jsps through tomcat with jk2. But when I run it through apache i always get a 'file cannot be found' error. The JSP files show up ok, but the submits when it looks for the .do always fails. can apache see my..

Apache using Mapped Network drive to userdir - Hello, I have user directories on one machine and then have the webserver on a different machine. I mapped a network drive to the user directory and thought I could setup the userdir to use that mapped network drive. For some reason it does not recogniz...

using a network drive - Hello I'm using a Windows XP and a Windows 2000. I'm using the Windows 2000 as a dedicated FTP and HTTP apache webserver. I have certain folders on my Windows XP, which I want to use in the http server, and later on the FTP as well. I have shared the....
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]