p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

beginning_php thread: Localhost forbidden problem...


Message #1 by "Deepak Kumar Vasudevan" <deepak@c...> on Mon, 1 Apr 2002 09:11:05 +0530
Hi,

The most probable cause is

disabled directory browsing...

Request any particular PHP file or html or gif file. That should work.  To
enable direct listing of the default document, you may need to have an
index.html file (that is the default document for directoryindex for Apache)
or you can amend

DirectoryIndex attribute to like this:

DirectoryIndex index.html index.htm default.html default.htm index.asp
default.asp index.php default.php

(This needs to be done in apache's httpd.conf and apache needs to be
restarted for the changes to take affect)

If PHP runs as CGI, verify that the folder has CGI execute permissions
turned on.

With Best Regards,

==========================================
Deepak Kumar Vasudevan, Software Engineer
CS Software Solutions Pvt. Ltd.
425 Pantheon Road, Egmore, Chennai 600 008, INDIA
Phones: +91 (44) 8311334 thru 38. Fax: +91 (44) 8311339
URL: www.cssolutionsinc.com
==========================================


  Return to Index