Forum Moderators: phranque

Message Too Old, No Replies

Running Scripts from All Directories? Need Help

Apache 2.2 on Windows XP

         

MizzBia

5:42 am on Mar 21, 2008 (gmt 0)

10+ Year Member



Hello,
I desperately need help with my apache configurations. I have been breaking my head for 3 days and cannot for the life of me understand why I cannot get it to allow scripts to run from all directories. Can someone please help me?

I have setup Apache 2.2 on my laptop (Windows XP) with Perl, PHP and MySQL. I have my main directory (C:/Server/htdocs) which serves web pages and cgi-bin (C:Server/cgi-bin) which runs scripts. As long as I place my scripts in cgi-bin, they work fine, however, I REALLY need to be able to run scripts from any directory - preferably my main directory (htdocs) and all sub-folders.

As I said, its been 3 days I'm at this and tried every configuration possible but I continue getting "403 Forbidden" errors. My config file is pretty brutal (from all the changes I tried)... if anyone can provide me with the proper configuration to be able to run Perl, PHP and CGI scripts from my htdocs folder (and sub-folders) I would be enternally grateful. Thanks for taking the time to read this :)

MizzBia

10:52 pm on Mar 21, 2008 (gmt 0)

10+ Year Member



can anyone point me in the right direction?

jdMorgan

5:24 am on Mar 22, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



First check your server error log -- It's often quite specific and helpful.

Also look into the "Options" setting for your host container: Is ExecCGI enabled? (See Apache core "Options" directive.)

Jim