Linux-Noob Forums

Full Version: CGI-bin prob
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

I have setup Apache and my Fedora 3 machine is still using the SELinux which will not

allow me to execute scipts I have managed to allow SELinux to show my public_html.

 

When I execte the cgi script via command line works great but when i do it via web browser

I get 404 I looked at the logs and I have got

 



Code:
[Thu Feb 03 20:20:32 2005] [error] [client 127.0.0.1] failed to open log file
[Thu Feb 03 20:20:32 2005] [error] [client 127.0.0.1] fopen: Permission denied
[Thu Feb 03 20:20:32 2005] [error] [client 127.0.0.1] Premature end of script headers: test.cgi




 

I am using the method of hosting my site via mod_userdir any ideas why my cgi scripts

won run??

 

thanks


does it work fine when you disable selinux ?

 

cheers

 

anyweb

yea works fine without SELinux enabled

hmm, i'm no selinux expert, but i believe you can configure it to 'ignore' certain files/directories

 

i could be totally wrong but if that's the case it may be worth looking into

 

cheers

 

anyweb