[wellylug] Scripts no longer executing

Daniel Pittman daniel at rimspace.net
Fri Dec 15 18:44:39 NZDT 2006


John Durham <john.modec at xtra.co.nz> writes:

> I thought this problem was in the past, but after sorting out the
> others it has returned once more. 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.
>
> There are a lot of useful scripts on this system, so you can imagine
> the reaction here. Looking for the reason and some way to fix it! The
> server is Ubuntu Linux. Perl modules are installed (as far as I know).

Is the Apache CGI or CGID module enabled?

Check with 'ls /etc/apache2/mods-enabled'

If not try the following:

  sudo a2enmod cgi
  sudo /etc/init.d/apache2 restart

Regards,
        Daniel
-- 
Digital Infrastructure Solutions -- making IT simple, stable and secure
Phone: 0401 155 707        email: contact at digital-infrastructure.com.au
                 http://digital-infrastructure.com.au/




More information about the wellylug mailing list