On Tue, 1 Mar 2005 14:42:45 +0530, ..:: T - 2 ::..
<[EMAIL PROTECTED]> wrote:
> On Tue, 1 Mar 2005 14:36:09 +0530 (IST), vivek <[EMAIL PROTECTED]> wrote:
> >
> > i don't think the problem is with the script. chmod 777 /var/www/html
> > gives rwx permissions to the /var/www/html directory, but not to the
> > script. try chmod 777 to the script (e.g. chmod 777
> > /var/www/html/myscript.php) and see if it works. if yes, then the problem
> > is with the permissions otherwise other settings need to be checked
> >
> > also, chmod'ing 777 to a script is not a very good idea, try doing 644
> > instead
> 
> for php scripts to run from browser, read permissions is just enough.
> There is no need for execute permissions for the script. Also stream
> error says its not able to write to the output file.

Correct me if I am wrong guys!!
But is there not something called a "ScriptAlias" section in apache
web server configuration. Maybe you have not set the ScriptAlias to
the proper path.
It is by default pointed to  the /var/www/cgi-bin . So any scripts you
want to run has to be in the cgi-bin directory. Or you can explicitly
set the ScriptAlias to the directory you want to point it to.

regards
Ravi
-- 
----------------------
I hear and I forget, I see and I remember, I DO and I understand.
-Confucius-


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
linux-india-help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-india-help

Reply via email to