Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Did 10.2.4 break Apache/CGI? (or is it me?)

Did 10.2.4 break Apache/CGI? (or is it me?)
Thread Tools
Senior User
Join Date: Mar 2001
Location: Bay Area, CA
Status: Offline
Reply With Quote
Feb 27, 2003, 10:47 AM
 
Okay, so recently my CGI scripts stopped working. By stopped working I don't mean they start giving me the standard error messages, but now instead of executing the code, when I hit "Submit" on my form my entire CGI script is just shown to me in the web browser.

I'm pretty sure this has only happened since upgrading to 10.2.4.

The first thing I did was go and check httpd.conf, and sure enough this was replaced, so I redid the changes necessary to enable CGI, and restarted apache. Still the same.

Rebooted for good measure, and still no luck. It happens with any of the browsers I try, so that's not it.

/var/log/httpd/error_log does not report any errors on the matter.

Has anyone else run into this problem with 10.2.4, or otherwise?

Thanks for any advice,
     
Fresh-Faced Recruit
Join Date: Dec 2002
Location: Columbus, OH
Status: Offline
Reply With Quote
Feb 27, 2003, 11:09 AM
 
Originally posted by msykes:
Has anyone else run into this problem with 10.2.4, or otherwise?
I too have noticed this problem since installing 10.2.4. My .php scripts now just show the actual php code.

I haven't taken the time to fully look into the problem though.
     
Mac Enthusiast
Join Date: Sep 2000
Location: France
Status: Offline
Reply With Quote
Feb 27, 2003, 12:19 PM
 
Originally posted by bryce:
I too have noticed this problem since installing 10.2.4. My .php scripts now just show the actual php code.

I haven't taken the time to fully look into the problem though.
That's because the updater replaces your apache conf file with its own (containing special directives for the Apche RendezVous module, but not activating php). However your conf file should be saved under apache.conf.applesaved (or sth like that)
To recover the php functionality, you either have to go back to your own conf file, or activate it in the new active one.
     
msykes  (op)
Senior User
Join Date: Mar 2001
Location: Bay Area, CA
Status: Offline
Reply With Quote
Feb 27, 2003, 02:02 PM
 
Originally posted by Axel:
That's because the updater replaces your apache conf file with its own (containing special directives for the Apche RendezVous module, but not activating php). However your conf file should be saved under apache.conf.applesaved (or sth like that)
To recover the php functionality, you either have to go back to your own conf file, or activate it in the new active one.
Well I'm not sure that's the problem. Granted I don't use PHP, just perl CGI, but even after making the necessary changed to httpd.conf it still doesn't work.

Any other thoughts?
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 05:45 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2