[wellylug] Scripts no longer executing

scott scott at slackisland.org
Thu Dec 14 13:47:02 NZDT 2006


Hi,

On Thu, 2006-12-14 at 09:35 +1300, andrej at paradise.net.nz wrote:
>  All the cgi and pl scripts on my server are
> > being treated as simple text files by the browser. Permissions are set
> > to 755 in each case, but when I attempt to test one by loading it into
> > Firefox browser, the text of the script appears.

Just a quick question about this- are you running a server with SELinux
enforcing? This can cause scripts to not run, you would need to change
the context of the scripts:

chcon -Rt httpd_sys_content_t /var/www/wherever_your_html_is/

maybe an update enabled selinux... 

Cheers,
Scott VanDusen
Tokyo -but soon Wellington :^)




More information about the wellylug mailing list