Re: running php scripts as cgi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ankush Grover kirjoitti viestissään (lähetysaika tiistai, 5. 
huhtikuuta 2005 10:51):
>
> I did added AddHandler cgi-script .php in httpd.conf
>
> and i also added #!/usr/bin/php in that script.
>
> But whenever i tried to access that script through browser it
> says i don't have the access .

It could be a SELinux configuration problem. Do you get any 
SELinux messages in the log when trying to run the script? See 
also: 
http://fedora.redhat.com/docs/selinux-apache-fc3/sn-suexec-and-cgi-scripts.html

-- 
 Markku Kolkka
 markku.kolkka@xxxxxx


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux