You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Yvo van Doorn <yv...@gmail.com> on 2007/02/04 04:39:27 UTC

Re: [users@httpd] mounted file system for DocumentRoot

Jim,

You still aren't being very clear. In addition to Jesse's requests,
what are the mount options you have set for your Samba mount.

The more thorough and detailed you are, the better the resolution will
be :-). I am not even sure what OS you have Apache configured on and
what version of Apache.

On 1/31/07, Jesse Ross <jr...@broad.mit.edu> wrote:
> Hi Jim,
>
> I missed this response earlier - sorry.
>
> Could you please send the line from your conf file where you set the
> DocumentRoot?
>
> Also, the log you sent is an apache access log - is there any
> information in the apache error log when you start up the server with
> the samba DocumentRoot?
>
> As I understand things, apache on Windows will generally be happier with
> its DocumentRoot specified as \\server\share than as a mapped drive
> letter.  This is because it runs as a service, and the mapped drive
> letters are typically only in play for active user sessions.  So
> specifying things the former way might be something for you to try.
>
> best,
> jesse
>
>
> Jim Austin wrote:
> > Jesse,
> >
> > Sorry for not being clear:
> >
> > I am trying to use a Samba mounted filesystem as my DocumentRoot.  I get
> > the Apache test page telling me I  have a problem with my Documentroot
> > when I access the URL in the client browser.  I don't see any error
> > messages in the Windows logfile.  Below is the Apache log file.
> >
> > The browser and the server seem to be happy, they just don't serve up
> > the index.html file in the Documentroot when it is a Samba mount.
> > Changing DocumentRoot back to a filesystem on the server and restarting
> > httpd I get the index.html file.
> > Thank you.
> >
> > [23/Jan/2007:17:59:50 -0800] "GET /icons/apache_pb.gif HTTP/1.1" 200
> > 2326 "http://linea/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
> > rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4"
> > 192.168.1.1 - - [23/Jan/2007:17:59:50 -0800] "GET /icons/powered_by.gif
> > HTTP/1.1" 200 581 "http://linea/" "Mozilla/5.0 (Windows; U; Windows NT
> > 5.1; en-US; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4"
> >
> >
> > Jesse Ross wrote:
> >> Hi Jim,
> >>
> >> The only kind of filesystem anyone would ever use for a DocumentRoot
> >> was one which was mounted.  By "mounted", do you mean that it's NFS?
> >> Samba?  Automount of one of these?
> >>
> >> Also, none of us can really tell you any specifics without details of
> >> what your problem is.  What kind of error are you seeing?  Can you
> >> supply the exact text of any browser messages or messages in your log
> >> file?  The latter is especially important.
> >>
> >> take care,
> >> jesse
> >>
> >>
> >> Jim Austin wrote:
> >>> Hello,
> >>> Sorry if I have overlooked the answer in the archives but:
> >>> I've tried to use a mounted file system for my DocumentRoot to no avail.
> >>> Is there a way to do this?
> >>> Thanks for any feedback!
> >>>
> >>>
> >>
> >> ---------------------------------------------------------------------
> >> 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@httpd.apache.org
> >>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> >> For additional commands, e-mail: users-help@httpd.apache.org
> >>
> >>
> >>
> >
> >
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>

---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org