You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Robbert van Andel <ro...@vafam.com> on 2003/04/07 06:26:42 UTC

[users@httpd] Configuration Question

I'm learning to configure apache and hope that someone out there can
help me with a few questions.

1.  What is the reason for having <DIRECTORY /> and then <DIRECTORY
/www/domain.com>, the seoncd directory being the one about the document
root?

2.  Where is some excellent documentation on getting frontpage
extensions installed?  I am unable to find anything decent.

Thank you for any help.

Robbert van Andel


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


Re: [users@httpd] Configuration Question

Posted by Robbert van Andel <ro...@vafam.com>.
Okay, thanks.

On Sun, 2003-04-06 at 22:47, Chris Meadors wrote:
> Robbert van Andel wrote:
> > What do you mean "root of my file system."  My website is located in
> > /usr/web, are you saying root is /usr/web, or is it / (like the root of
> > the linux file system?
> 
> <Directory /> is the root of the file system, like on Linux, or on 
> Windows that being c:\.
> 
> If your DocumentRoot is /usr/web, then <Location /> will refer to that 
> "location".
> 
> > The reason, I ask is that while I was installing frontpage extensions, I
> > was it configure / but not /usr/web.  Did it configure the root of the
> > website or the root of the linux file system?
> 
> Hard to say, were you configuring the Front Page extension program, or 
> Apache?  If you made modifications to the <Directory /> stance, you 
> changed how Apache will restrict access to files outside of your 
> DocumentRoot.  Not a good thing.  As I said above, <Location /> will 
> change how files in the root of your website are handled, as will 
> <Directory /usr/web> if that is the location of the files for you site 
> (as you say it is).  You probably already have a <Directory /usr/web>, 
> so that is where I would apply the changes.
-- 
Robbert van Andel
Website Developer
Oregon Swimming, Inc.
www.oregonswim.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


Re: [users@httpd] Configuration Question

Posted by Chris Meadors <cl...@hereintown.net>.
Robbert van Andel wrote:
> What do you mean "root of my file system."  My website is located in
> /usr/web, are you saying root is /usr/web, or is it / (like the root of
> the linux file system?

<Directory /> is the root of the file system, like on Linux, or on 
Windows that being c:\.

If your DocumentRoot is /usr/web, then <Location /> will refer to that 
"location".

> The reason, I ask is that while I was installing frontpage extensions, I
> was it configure / but not /usr/web.  Did it configure the root of the
> website or the root of the linux file system?

Hard to say, were you configuring the Front Page extension program, or 
Apache?  If you made modifications to the <Directory /> stance, you 
changed how Apache will restrict access to files outside of your 
DocumentRoot.  Not a good thing.  As I said above, <Location /> will 
change how files in the root of your website are handled, as will 
<Directory /usr/web> if that is the location of the files for you site 
(as you say it is).  You probably already have a <Directory /usr/web>, 
so that is where I would apply the changes.

-- 
Chris


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


Re: [users@httpd] Configuration Question

Posted by Robbert van Andel <ro...@vafam.com>.
What do you mean "root of my file system."  My website is located in
/usr/web, are you saying root is /usr/web, or is it / (like the root of
the linux file system?

The reason, I ask is that while I was installing frontpage extensions, I
was it configure / but not /usr/web.  Did it configure the root of the
website or the root of the linux file system?

Thanks for your response.


On Sun, 2003-04-06 at 22:30, Chris Meadors wrote:
> Robbert van Andel wrote:
> > I'm learning to configure apache and hope that someone out there can
> > help me with a few questions.
> 
> I can answer your first, but not your second.
> 
> > 1.  What is the reason for having <DIRECTORY /> and then <DIRECTORY
> > /www/domain.com>, the seoncd directory being the one about the document
> > root?
> 
> The first <Directory /> controls the settings for the root of your file 
> system.  All other directories are below it, so anything set there will 
> effect all other directories (unless over ridden).  The root settings 
> basically lock every thing down, and provide very little access.
> 
> The second (and all other subsequent) Directory settings then over ride 
> the lock down of the root setting allowing files to be served and other 
> things that are suited to a web server.
> 
> I would recommend not touching the settings in the <Directory /> stance, 
> the defaults are correct.
> 
> > 2.  Where is some excellent documentation on getting frontpage
> > extensions installed?  I am unable to find anything decent.
> 
> I'd think that the most "excellent" documentation would probably come 
> from commercial packages.
-- 
Robbert van Andel
Website Developer
Oregon Swimming, Inc.
www.oregonswim.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


Re: [users@httpd] Configuration Question

Posted by Chris Meadors <cl...@hereintown.net>.
Robbert van Andel wrote:
> I'm learning to configure apache and hope that someone out there can
> help me with a few questions.

I can answer your first, but not your second.

> 1.  What is the reason for having <DIRECTORY /> and then <DIRECTORY
> /www/domain.com>, the seoncd directory being the one about the document
> root?

The first <Directory /> controls the settings for the root of your file 
system.  All other directories are below it, so anything set there will 
effect all other directories (unless over ridden).  The root settings 
basically lock every thing down, and provide very little access.

The second (and all other subsequent) Directory settings then over ride 
the lock down of the root setting allowing files to be served and other 
things that are suited to a web server.

I would recommend not touching the settings in the <Directory /> stance, 
the defaults are correct.

> 2.  Where is some excellent documentation on getting frontpage
> extensions installed?  I am unable to find anything decent.

I'd think that the most "excellent" documentation would probably come 
from commercial packages.

-- 
Chris


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


Re: [users@httpd] Configuration Question

Posted by Prince <fr...@kaltelnet.net>.
as far as frontpage extensions i wouldnt know about those but as far as the
other stuff:

<directory> and </directory> tags are for directories that the main server
uses and <directory> and </directory> tags used in a virtual host tell that
domain name server where directories are set up and how they work..


dont know if this is what you were wanting but its the best i can come up
with for right now




----- Original Message -----
From: "Robbert van Andel" <ro...@vafam.com>
To: <us...@httpd.apache.org>
Sent: Monday, April 07, 2003 12:26 AM
Subject: [users@httpd] Configuration Question


> I'm learning to configure apache and hope that someone out there can
> help me with a few questions.
>
> 1.  What is the reason for having <DIRECTORY /> and then <DIRECTORY
> /www/domain.com>, the seoncd directory being the one about the document
> root?
>
> 2.  Where is some excellent documentation on getting frontpage
> extensions installed?  I am unable to find anything decent.
>
> Thank you for any help.
>
> Robbert van Andel
>
>
> ---------------------------------------------------------------------
> 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