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 > Developer Center > httpd.conf

httpd.conf
Thread Tools
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status: Offline
Reply With Quote
Apr 11, 2003, 11:26 AM
 
Dear Apple,

in future upgrades of your wonderful operating system (OS X), can you please leave my httpd.conf in one piece?

every time i upgrade, you either add stuff, replace it, erase it, empty it, etc.

do it one more time, i'll i'll kick you square in the nuts!

regards,

philzilla
"Have sharp knives. Be creative. Cook to music" ~ maxelson
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Apr 11, 2003, 12:19 PM
 
Originally posted by philzilla:
Dear Apple,

in future upgrades of your wonderful operating system (OS X), can you please leave my httpd.conf in one piece?

every time i upgrade, you either add stuff, replace it, erase it, empty it, etc.
Apple would tell you that you should not edit it. Instead, you should edit /private/etc/httpd/users/yourusername.conf and put your changes in there.

I'm not saying anyone actually DOES this, but that's what Apple recommends.
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status: Offline
Reply With Quote
Apr 11, 2003, 12:23 PM
 
when Apple tell me WHY my httpd.conf was left completely empty after this upgrade (as in 0k, zip, nada, nothing at all), then i might pay attention to what they have to say

Apache wasn't even affected by this upgrade, was it? meddling kids...
"Have sharp knives. Be creative. Cook to music" ~ maxelson
     
Mac Elite
Join Date: Dec 2001
Location: Atlanta, GA, USA
Status: Offline
Reply With Quote
Apr 11, 2003, 10:43 PM
 
Originally posted by philzilla:
when Apple tell me WHY my httpd.conf was left completely empty after this upgrade (as in 0k, zip, nada, nothing at all), then i might pay attention to what they have to say

Apache wasn't even affected by this upgrade, was it? meddling kids...
You mean 10.2.5? Upgrading to it did not move my httpd.conf aside. Maybe you used the combo updater (which would have the 10.2.4 changes in it and would move the file aside)?
Mac Pro 2x 2.66 GHz Dual core, Apple TV 160GB, two Windows XP PCs
     
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status: Offline
Reply With Quote
Apr 12, 2003, 06:39 AM
 
Originally posted by Arkham_c:
You mean 10.2.5? Upgrading to it did not move my httpd.conf aside. Maybe you used the combo updater (which would have the 10.2.4 changes in it and would move the file aside)?
yes, i mean 10.2.5, not 10.2.4 (i know what i'm on about). this only happened on my iMac though, not my iBook. even weirder.
"Have sharp knives. Be creative. Cook to music" ~ maxelson
     
Grizzled Veteran
Join Date: Nov 2001
Location: Oregon
Status: Offline
Reply With Quote
Apr 16, 2003, 01:12 PM
 
Originally posted by Arkham_c:
Apple would tell you that you should not edit it. Instead, you should edit /private/etc/httpd/users/yourusername.conf and put your changes in there.

I'm not saying anyone actually DOES this, but that's what Apple recommends.
Um, well, i do! And it works really well too. I never edit the http.conf and never have any problems with system updates.

Important safety tip: Every file in /private/etc/httpd/users/ is effectively appended to your /etc/httpd/httpd.conf file, even files with suffixes like ".bak", so keep your backup files in another directory, else they are likely to override the changes you're making in your primary file (e.g. my.httpd.conf.bak would load after my.httpd.conf, which might undo the edits you've made and send you off chasing your tail for hours while trying to figure out why the changes you're making don't seem to work properly -- of course i was never caught by this snare! ).

This also means you can name files in this directory anything you please, and are not limited to yourusername.conf, which is merely a convention that may be safely to ignored.
     
Senior User
Join Date: Dec 2002
Status: Offline
Reply With Quote
Apr 16, 2003, 02:40 PM
 
simple solution: back up your conf before doing a system update. i'm not saying anyone actually does this..well except the pros
Travis Sanderson
     
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status: Offline
Reply With Quote
Apr 17, 2003, 02:23 AM
 
i always do, but it's always the last thing i remember to replace... usually when i realise Apple broke it.
"Have sharp knives. Be creative. Cook to music" ~ maxelson
     
   
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 03:23 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