RE: [PHP-INST] stop access to local folders?
| From: | Shrock, Court | Date: | Mon, 06 May 2002 22:54:39 +0000 |
| Subject: | RE: [PHP-INST] stop access to local folders? | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-6896@lists.php.net to get a copy of this message | ||
TODO: open head...insert brain...
> -----Original Message-----
> From: Shrock, Court [mailto:ShrockC@inhs.org]
> Sent: Monday, May 06, 2002 2:52 PM
> To: Jim Thome; php-install@lists.php.net; gabster_ro@yahoo.com
> Subject: RE: [PHP-INST] stop access to local folders?
>
>
> From my experience with httpd.conf (apache 1.x.x), the
> "-Indexes" should be
> "Indexes"......
>
> > -----Original Message-----
> > From: Jim Thome [mailto:jthome@fcgov.com]
> > Sent: Monday, May 06, 2002 2:38 PM
> > To: php-install@lists.php.net; gabster_ro@yahoo.com
> > Subject: Re: [PHP-INST] stop access to local folders?
> >
> >
> > Assuming you are running Apache...
> >
> > If you have permissions to modify the httpd.conf file, add:
> >
> > Options -Indexes
> >
> > ...to your directory container <Directory "/path/to/your/webroot">
> >
> > If you don't have access to modify the httpd.conf file, add a
> > file .htaccess in your web root and use the line shown above.
> >
> > (restart server).
> >
> > --Jim
> >
> > >>> "The Gabster" <gabster_ro@yahoo.com> 05/06/02 03:26PM
> > >>> >>>
> > How can I stop people from seeing in the browser the
> content of my web
> > folders? For example if I have a folder called "newsgroup",
> > right now if
> > they type http://www.mydomain.com/newsgroup/, they can see
> >
> > the index of that
> > folder... I do not want this...
> >
> > PLease help.
> > thanks,
> > gabi.
> >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>