Re: (WEIRD problem) Not following directories!!! (0t)
| From: | Ryan A | Date: | Wed, 28 Jan 2004 18:28:52 +0000 |
| Subject: | Re: (WEIRD problem) Not following directories!!! (0t) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-176090@lists.php.net to get a copy of this message | ||
Hey Andrew,
> First, note that that is an apache problem, not PHP.
Yep, thats why I put the "Ot" in the subject line.... but since you cant
have PHP
without a webserver and apache is the most popular on the list or the
net...I was
hopeing someone else had this problem and could guide me
> In httpd.conf add "Option Indexes" to the folder (root for whole site).
> That will produce a file list of the directory.
Thanks, will try that right now.
> Or, put in a 'default' document (ie: index.html) that will produce the
> output when people browse to the directory.
Will try that too.
> Directory browsing is normaly disabled in web servers (from experience,
> apache and IIS).
See? didnt know that. Learned something new.
> HTH
Sure did. Thanks.
Cheers,
-Ryan
> Andrew
>
Hi,
> > Heres a totally weird problem, I created some folders on our server
> (which
> > we are accessing only via ip as the domain has not been resolved) but I
> > get
> > an error when i try to access the folder(s)!
> >
> > eg:
> > (I created this folder)
> > ryan
> >
> > and i try to access it like this:
> > http://208.234.29.220/ryan/
> >
> > and it gives me this error:
> "You don't have permission to access /ryan/ on
> > this server."
> >
> > Which is totally weird coz I have NOTHING in that folder right now...
> not
> > even a .htaccess file
> >
> > What could be wrong? I have looked in my httpd.conf file and on google
> but
> > cant seem to