Page 1 of 1

[SOLVED] Apache - Forbidden

Posted: Tue Jan 06, 2004 8:30 am
by Straterra
I am running Apache 1.3.* on Windows..and I get a "Forbidden
You don't have permission to access /cgi-bin/musicphp3.php on this server."

How do I make this go away?

Posted: Tue Jan 06, 2004 2:54 pm
by Pyrite
php files are not cgi, don't put them in cgi-bin, try that.

Posted: Tue Jan 06, 2004 4:20 pm
by Straterra
Um..it won't let me access ANY other folder.

Posted: Tue Jan 06, 2004 4:41 pm
by Straterra
Well, I can do like a /images, but when I try a /php, I get a Forbidden.

Posted: Wed Jan 07, 2004 7:14 pm
by Straterra
No one knows?

Posted: Thu Jan 08, 2004 5:20 am
by Pyrite
Is this on your localbox or do you have a URL where we can see what your talking about?

Posted: Thu Jan 08, 2004 5:52 am
by Straterra

Posted: Thu Jan 08, 2004 6:14 am
by Pyrite
Ok, I get

The requested URL /php/musicphp3.php was not found on this server.

Posted: Thu Jan 08, 2004 7:47 am
by Straterra
I know, but it exists! Try /PHP/ and you get a forbidden.

Posted: Thu Jan 08, 2004 8:18 am
by Pyrite
That is because you don't have directory listing turned on.

Posted: Thu Jan 08, 2004 9:11 am
by Straterra
Um..that was kinda my question. How do I turn that on?

Posted: Thu Jan 08, 2004 9:16 am
by Pyrite
It's an Apache Directive.

Just search your httpd.conf for "directory listing" or something.

Posted: Thu Jan 08, 2004 4:15 pm
by Straterra
I have searched it..and I came up empty handed.

Posted: Thu Jan 08, 2004 5:31 pm
by Straterra
I have solved this problem by looking up that directive. Thanks!! :)