|
|
Still not working
Thanks for your suggestions. I've tried altering the individual user's config file, and now SSI works, but CGI/Perl still doesn't. I either get a permissions error or premature end of script headers error (or something like that). I've tried changing the permissions on the files in the Finder, but because the files were created in OS 9, the owner/group is "Staff", and I can't alter them, even though I'm an admin. I guess that's another problem entirely. Gotta get used to the whole permissions spiel now. How can I change the permissions and why am I getting premature end of script header errors when the exact same script works perfectly on a Unix server?
Have you read the Apache FAQ?
It's located here.... might help.
Still not working
perl scripts need to be made executable for apache to run them. a command like the one below should work.
Still not working
I forgot to mention that I was testing a VERY basic Perl script:
#!/usr/bin/perl print "Content-type: text/htmlrnrn"; print "Hello, World.";There are backslashes before each "r" and "n", but they don't show up here. And I still get the errors I mentioned in my earlier post a few minutes ago. I know that's where Perl is on my computer too.
Still not working
I've done everything I can think of now. I've got my Apache config file setup correctly. I've read the Apache docs, I've given permissions, etc. Now I get an internal server error with this in my error log:
[Thu Jul 12 19:47:09 2001] [error] (2)No such file or directory: exec of /Users/crusty/Sites/cgi-bin/test.pl failed [Thu Jul 12 19:47:09 2001] [error] [client 127.0.0.1] Premature end of script headers: /Users/crusty/Sites/cgi-bin/test.plWhat am I doing wrong now? I'm getting amazingly frustrated with this now. On top of this problem, I had a new hard drive put in, and the techs who worked on it moved all my old info onto the new one. Well afterwards, I couldn't boot off of OS X, so I reinstalled it. I then noticed I had lost mySQL and PHP, and my Apache was corrupted. Soooo... I reinstalled them, but I had no config file or directory for individual users. My overall config file was different than the first time I compiled and installed it. I eventually fixed it all back, but I STILL have the CGI problem. And my Sharing will not work anymore. It'll crash the System Prefs every time. All other panels work, but not Sharing. I have to start Apache with the apachectl command. Anybody know how to help me with any of these things? |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|