Thanks for your help, that solved the problem.
To answer your question as to why I don't want my php scripts to be in the
document root tree, it is a potential security issue. I would rather not
allow anyone to peruse my source code as they may be able to find ways to
exploit it more easily.
On
On May 24, 2009, at 12:31 AM, Lyle Wincentsen wrote:
In short, I am trying to set up my document root to be /var/www/htdocs
and I want my php scripts to run in /var/www/cgi-bin.
Why? You can run PHP scripts in the same directory as your htdocs as
you want.
For some reason
I am getting "50
I am new to apache and php, so I suspect this will be an easy one to answer.
In short, I am trying to set up my document root to be /var/www/htdocs
and I want my php scripts to run in /var/www/cgi-bin. For some reason
I am getting "500 internal server error" when I try to run a script
(called phpa