[wellylug] Perl scripts not executing in Firefox

John Durham johndurh at spunge.org
Fri Jan 12 09:05:03 NZDT 2007


Cliff Pratt wrote:
> In the /etc/apache2 directory there is a file called httpd.conf. This 
> is the old historical name. There is also a file called apache.conf. 
> This contains the new conf file which defines the 'global' parameters 
> that apply to all sites in the apache configuration. At the end you 
> will see an 'include' statement which reference 
> /etc/apache2/sites-enabled. These are the individual sites in the 
> configuration. To see all your sites, at the command line type 
> 'apache2ctl -S'. For each site there will be a link in 
> /etc/apache2/sites-enabled tp the site definition in 
> /etc/apache2/sites-available.
>
> So you should make site changes to the files in 
> /etc/apache2/sites-available and general changes to the 
> /etc/apache2/apache.conf
>
> IN the above "Location" definition, I believe the line should read:
>
> AddHandler cgi-script .cgi .pl
>
> Cheers,
>
> Cliff
Interesting- /etc/apache2 does NOT contain a copy of apache.conf but 
there is one called apache2.conf ? Would it be reasonable to say that 
this is the file you mean? If not, then should this file be left alone 
and a new one created? Meantime, I have updated apache2.conf with the 
<Location /cgi-bin> data you suggested. Can easily revert back if needed.
-- 
John Durham
Site http://modecideas.com
Good advice is like good paint. It only works when applied.




More information about the wellylug mailing list