[Koha] Premature end of script headers: mainpage.pl

Croson, John JCroson at ramart.org
Fri Dec 5 03:19:02 NZDT 2003


Make sure your web server account has permissions to execute the perl scripts. This is a common message caused by improper permissions.

Mine are owned by user root, group apache, and bit pattern set to 755 (-rwxr-xr-x)

John Croson
Technology Operations Manager
Wustum Museum
Racine Art Museum
441 Main Street
Racine, WI 53403
262-638-8300 ext. 104
fax 262-898-1045


> -----Original Message-----
> From: Nasimuddin Ansari [mailto:nasim_ansari at yahoo.co.in]
> Sent: Thursday, December 04, 2003 5:30 AM
> To: koha at lists.katipo.co.nz
> Subject: [Koha] Premature end of script headers: mainpage.pl
> 
> 
> Dear All
> 
> Is there any mail archieve of this mailing list? 
> I am still not able to solve my problem posted
> earlier.
> May be there is some posting on this issue earlier.
> 
> MY PROBLEM AS FOLLOWS:
> [ HOPE SOMEONE MAY HELP ME TO MOVE NEXT STEP]
> 
> 
> I'hv installed koha without any error . But when When
> i am opening site
> with 
> http://localhost:80
> or
> http://localhost:8080
> a scring appears having nicely written KOHA on it and
> after few second i get below error. I m providing
> other details too.
> Any help appreciated
> 
> 1=URL of browse
> is:http://localhost:8080/cgi-bin/koha/mainpage.pl
> and 
> 2=error message is as below:-
> 
> Server error!
>     The server encountered an internal error and was
> unable to complete your request. 
>     Error message:
>     Premature end of script headers: mainpage.pl 
> 
>     If you think this is a server error, please
> contact the webmaster 
> 
> Error 500
> 
>     localhost
>     Mon 01 Dec 2003 05:42:25 PM IST
>     Apache/2.0.40 (Red Hat Linux)
> 3=http.conf entries is
> 
> #portrts to listen to for Koha
>                                                       
>                          
> Listen 8080
> # NameVirtualHost is used by one of the optional
> configurations detailed below
> #NameVirtualHost 11.22.33.44
>                                                       
>                          
> # KOHA's OPAC Configuration
> <VirtualHost 191.254.4.51:80>
>    ServerAdmin root at localhost.com
>    DocumentRoot /usr/local/koha/opac/htdocs
>    ServerName shekhar
>    ScriptAlias /cgi-bin/koha/
> /usr/local/koha/opac/cgi-bin/
>    ErrorLog logs/opac-error_log
>    TransferLog logs/opac-access_log
>    SetEnv PERL5LIB "/usr/local/koha/intranet/modules"
>                                                       
>                          
> </VirtualHost>
> 
> #KOHA's INTRANET Configuration
> <VirtualHost 191.254.4.51:8080>
>    ServerAdmin root at localhost.com
>    DocumentRoot /usr/local/koha/intranet/htdocs
>    ServerName shekhar
>    ScriptAlias /cgi-bin/koha/
> "/usr/local/koha/intranet/cgi-bin/"
>    ErrorLog logs/koha-error_log
>    TransferLog logs/koha-access_log
>    SetEnv PERL5LIB "/usr/local/koha/intranet/modules"
>                                                       
>                          
> </VirtualHost>
> 
> ______________________________________________________________
> __________
> Yahoo! India Mobile: Download the latest polyphonic ringtones.
> Go to http://in.mobile.yahoo.com
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
> 



More information about the Koha mailing list