#!/usr/bin/perl /perl OR #!/usr/bin/perl OR #!/usr/local/bin/perl #use CGI::Carp qw(fatalsToBrowser); #use CGI; #$q = new CGI; #print $q->header(-type=>'text/html',-accept=>'*/*'); #print "Content-type: text/html\n\n"; print < END #### [Fri May 17 15:58:45 2002] [error] [client 12.122. 366.335] Premature end of script headers: /home/virtual/blake/home/httpd/cgi-bin/test.cgi #### Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, blah@blah.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. #### ServerName www.blah.com ServerAlias blah.com *.blah.com ServerAdmin blah@blah.com DocumentRoot /home/virtual/blake/home/httpd/html User blake Group blake Redirect /admin https://blah.com:19638/webhost/services/virtualhosting/siteadmin Redirect /user https://blah.com:19638/webhost/services/virtualhosting/useradmin UserDir /home/virtual/blake/home/*/public_html AliasMatch ^/users/([^/]+)/?(.*) /home/virtual/blake/home/$1/public_html/$2 ScriptAlias /cgi-bin/ /home/virtual/blake/home/httpd/cgi-bin/ CustomLog /home/virtual/blake/var/log/httpd/access_log combined ErrorLog /home/virtual/blake/var/log/httpd/error_log Allow from all AllowOverride All Order allow,deny Options Includes