httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Hademenos" <hademe...@sbcglobal.net>
Subject Re: [users@httpd] question about turning off indexing
Date Thu, 13 Feb 2003 19:32:16 GMT
oregon.edu says they only have 3 approaches and none of them are
satisfactory.


----- Original Message -----
From: "Gary Turner" <kk5st@sbcglobal.net>
To: <users@httpd.apache.org>
Sent: Thursday, February 13, 2003 1:30 PM
Subject: Re: [users@httpd] question about turning off indexing


> CJ wrote:
>
> >Yes it is true. I have them on their own file system
> >/cgi-bin is on a File system and /public is its own.
>
> What do you mean by "on their own file system"?
> >
> >Even so that should not matter.
> >
> >I made a dir called /public/cgi-bin and made an entry
> >in my httpd.conf file to reflect this.
>
> What was that entry, explicitly?
>
> >I then stopped and started the server and I get the
> >same result.
> >
> >I even tried to link the /public/cgi-bin to the
> >/cgi-bin and same result. It follow the link fine.
> >
> >SO I have tried several places and options.
> >
> >What else do you recommend I try?
>
> Why on earth would you be doing anything in / (root)?  Certainly files
> don't belong there.  The only things in my root directory are FHS
> http://www.pathname.com/fhs/ standard directories and links to the
> kernel.  A directory "public" does not belong in root.
>
> Do you have some (unknown to us) reason for departing from the normal
> placement?  If not,
>
> DocumentRoot /var/lib/www or
> DocumentRoot /usr/local/lib/www
>
> ScriptAlias /cgi/ /var/lib/cgi-bin/ or
> ScriptAlias /cgi/ /usr/local/lib/cgi-bin/
>
> First set a default.  (This is the system root)
>
> <Directory />
> Options SymLinksIfOwnerMatch
> AllowOverride None
> </Directory>
>
> Now the doc root directory
>
> <Directory /usr/local/lib/www>
> AllowOverride None
> Options -Index
> other stuff
> </Directory>
>
> And the script directory
>
> <Directory /usr/local/lib/cgi-bin>
> AllowOverride None
> Options ExecCGI
> more stuff
> </Directory>
>
> The point of this is that the directories are actual, not aliases.  I
> say this, because it is unclear whether you are using the alias or very
> bad real addresses in the directives.
> >
> >--- Joshua Slive <joshua@slive.ca> wrote:
> >>
> >> On Thu, 13 Feb 2003, CJ wrote:
> >> > And to asnwer the other person yes the directories
> >> do
> >> > exist as I created them on the server myself.
> >>
> >> Did you read my ENTIRE message?  Are you saying that
> >> you have "public" and
> >> "cgi-bin" directories at the root of the filesystem
> >> (as in, along side
> >> /usr /etc /home /dev) and if you type "cd /public"
> >> you get to that
> >> directory?  That would be a VERY unusual place to
> >> put web directories.
> >>
> >> If you can confirm that is true, we can talk about
> >> other debugging
> >> techniques, but I sincerely doubt it.
> >>
> >> Joshua.
> >>
>
> --
> gt                  kk5st@sbcglobal.net
>  If someone tells you---
>  "I have a sense of humor, but that's not funny."
>                                   ---they don't.
>
> ---------------------------------------------------------------------
> 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


Mime
View raw message