[freeside] "Premature end of script headers" error on all .cgi files

Albert E. Whale, CISSP aewhale at ABS-CompTech.com
Wed Sep 10 09:18:36 PDT 2003



David Mcguire wrote:

>Hi! I'm trying to get freeside running on my machine,
>and I've gotten pretty far.
>
>Pertinent information:
>Linux: Mandrake 9.1 (I'm a newbie, I apologize)
>DB: PostgreSQL 7.3.2
>Perl: 5.80
>Other info:
>Freeradius 0.81 is using PostgreSQL for it's
>authentication and that is working fine. 
>Nothing else is being run on this box. Not even a mail
>server... yet.
>  
>
I too had initial problems getting past the Premature end of script 
headers error on Mandrake 9.1

Once I found the cause, it all came together. 

Mandrake runs both the Httpd and httpd-perl daemons.  The trick is 
getting the proper daemon to recognize the configuration data.  I was 
using the HTML::Mason (the urpmi installation is not suitable, you 
should install with the perl -MCPAN -e  shell command).  In order to get 
the httpd-perl daemon to recognize the Directory Path for the ASP or 
MASON configuration, you need to define the Directory in the PERLPROXIED 
configuration settings of /etc/httpd/conf/httpd.conf (I chose to install 
the apache-1.3.28 server).

Good Luck.

-- 
Albert E. Whale, CISSP - Sr. Security, Network, and Systems Consultant
--------------------------------------------------------------------------------
http://www.abs-comptech.com & http://www.No-JunkMail.com 
ABS Computer Technology, Inc. - ESM, Computer & Networking Specialists
No-JunkMail.com - SPAM Stops Here.
Founding Board of Directors of Pittsburgh FBI - InfraGard






More information about the freeside-users mailing list