Quantcast

Forums | MacLife

You are not logged in.

#1 2006-03-16 9:42 am

The New Guy
Member
From: Left of left
Registered: 2000-10-18
Posts: 3422

Can Apache Read from a SMB Mount?

Just like it says: Can I config Apache to read from a SMB mount? I've already tried pointing Apache to the directory (/Volumes/Mount/Dir/Site), but I'm getting permissions errors.


The car of the future is a train with a bike waiting at the other end.

Offline

 

#2 2006-03-16 3:22 pm

NAG
A witch!
Royal Wombat
From: /usr/local/apps/nag
Registered: 2000-09-22
Posts: 30229

Re: Can Apache Read from a SMB Mount?

*moved from Balloon Help*


"You call *this* archaeology?" • Professor Henry Jones
http://homepage.mac.com/dpauw/.Pictures/misc/moron.gif

Offline

 

#3 2006-03-16 10:58 pm

jb
Member
From: Melbourne, Australia.
Registered: 2004-01-04
Posts: 2179

Re: Can Apache Read from a SMB Mount?

This may sound stupid, but did you check the permissions?
Also, did you set up:

Code:

<Directory "/Volumes/Mount/Dir/Site">
Options Indexes etc etc
Allow from all
</Directory>

That kind of a thing?


They say that the most secure computer is the one not connected to the internet.
That's why security experts recommend Telstra BigPond.

Offline

 

#4 2006-03-27 12:37 pm

The New Guy
Member
From: Left of left
Registered: 2000-10-18
Posts: 3422

Re: Can Apache Read from a SMB Mount?

I've already tried configging apache. The issue is that the SMB mount is owned by my user account and no amount of permissions changing causes it to be allowed to be read by Apache.


The car of the future is a train with a bike waiting at the other end.

Offline

 

#5 2006-03-27 1:16 pm

Miles
Now I fight for wisdom!
Administrator
From: Michigan
Registered: 2001-07-21
Posts: 4506
Website

Re: Can Apache Read from a SMB Mount?

You must either configure Apache to run as you (probably not good), or you must set up the SMB mount such that it is readable by either www or everybody.

Offline

 

#6 2006-03-27 1:34 pm

Alien
Forum Czar
Administrator
From: Republic of Amsterdam
Registered: 1999-07-05
Posts: 16942
Website

Re: Can Apache Read from a SMB Mount?

Apache doesn't run under your user name. Check your httpd.conf.

,xtG
.tsooJ


http://macstack.net/forums/images/smilies/lol.gif

Offline

 

Board footer

Powered by PunBB 1.2.6
© Copyright 2002–2005 Rickard Andersson