Don, Try after your #!/usr/bin/perl to insert the following if you don't already have it.... print < To: Sent: Tuesday, June 03, 2003 5:24 PM Subject: CGI magic help > Running out of box RH8 Apache 2.0.40. You guys helped me with VHOSTS > and that works great. Figured out some other stuff to almost get it > where I want it except for this last straw. > > I've scoured the apache docs and the ones included on the server to see > why my cgi doesn't work and I maybe need someone to tell me where to > look. I have the test scripts that work on other servers so I know that > the scripts work. > > > DocumentRoot /Volume2m/Websites/website3.com > ServerName website3.com > ServerAlias ww.website3.com az.website3.com > LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-agent}i\"" > comonvhost > CustomLog /Volume2m/Websites/Logfiles/website3.com/access_log "comonvhost" > ErrorLog /Volume2m/Websites/Logfiles/website3.com/error_log > LogLevel debug > ScriptAlias /cgi-bin/ "/Volume2m/Websites/website3.com/cgi-bin/" > > > I have the scripts located in the correct directory, permissions are set > to read and execute. > All I get is: > > > Server error! > > The server encountered an internal error and was unable to complete > your request. > > Error message: > Premature end of script headers: test2.pl > > > Yet the same script works in M$ IIS5. > > > --------------------------------------------------- > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us > To subscribe, unsubscribe, or to change you mail settings: > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss >