From: Israel E. <is...@li...> - 2002-11-08 22:20:36
|
crud... Sorry about that my fingers were a bit hasty...I was going to paste in the following details... begin old email... --------------------------------- After having set everything up to whatever degree I'm capable of at the moment, I get an internal server error which feeds to my error_log the "Premature end of script headers: /Users/iz/Sites/py-cgi/WebKit.cgi" error... I'm on Mac OS X (10.1), using Apache/1.3.26 (darwin) I've set up the WebKit.cgi file to call to the appropriate python location with the default #!/usr/bin/env python and I've pointed the WebwareDir within WebKit.cgi to '/apps/Webware' which is where the webkit directory resides. I've set up apache to handle both .cgi and .py files as scripts. I've set up a ScriptAlias to point to my py-cgi folder with these options: <Directory "/Users/iz/Sites/py-cgi"> AllowOverride None Options ExecCGI Order allow,deny Allow from all </Directory> I have both Apache and webware's Appserver running. Now I'm not sure what I'm missing here, I've read that most often a Premature end of script headers error is a problem with the permissions and so I've set both my py-cgi directory and the WebKit.cgi file to chmod 755. What else am I missing? ------------------------------ end old email. I've been told that permissions are most likely the problem, but I've done this to all my webware related directories and files: chmod -R 755 <whatever directory> Is that right? I'm still quite foggy on chmod so I may have done something wrong. I'd love to get webware started on my mac here, but It's proving quite difficult. I've gotten Webware set up on windows 2000 before so I know that somewhere deep down inside of me is a Webware User just waiting to get out. Please help this poor lost Webwareless soul... Thanks, ~Israel~ |