image
image

Go Back   macosx.com > Mac Help Forums > Unix & X11

Reply
 
LinkBack Thread Tools
  #1  
Old January 8th, 2003, 03:01 PM
Registered User
 
Join Date: Dec 2002
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
ethanS is on a distinguished road
Need to start Apache 2.0 instead of that prebundled with Mac OS X

Hi all,

I just migrated to Mac OS X 10.2.3 ... installed Apache 2.0 into

/usr/local/apache2

... works fine when I start it from terminal with

/usr/local/apache2/bin/apachectl start

... however when I use the System Preferences > Sharing to start the web server, it loads up the old version of Apache that came with Mac OS X ...

how do I point mac os x to start the new one and how do I configure Apache 2.0 to enable individual user accounts like

http://localhost/~user1

... kekek ... thanx a lot anyway fer the great efforts of everyone that contributed to the unix world or open source software ... and the great helpful people that support blur users like me on the forums !!! three cheers for everyone ...

p.s : hope that i will someday be able to help out in the forum ... just give me a few months .. just u all wait ... hahah
Reply With Quote
  #2  
Old January 8th, 2003, 05:39 PM
Registered User
 
Join Date: Jan 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
edalzell is on a distinguished road
I believe that if you install Apache2 from here and then set WEBSERVER=-NO- and APACHE2=-YES-, all should be well.
Reply With Quote
  #3  
Old January 10th, 2003, 12:04 PM
Registered User
 
Join Date: Dec 2002
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
ethanS is on a distinguished road
Well I tried that already thanx ... but it was not what i intended. I thought of replacing the Apache that came with the system ... but thanx a lot fer the time ...

I explored around these few days and thought maybe the answer could lie in

1) replacing the /usr/bin/httpd, /usr/bin/apachectl, /usr/sbin/httpd, and /usr/sbin/apachectl with those built by apache2 ...

or

2) add some stuff into the /System/Library/StartupItems ...

either way .. a couple of caution ...
1) your system could be real messed up like m ine ... which would require reinstalling ... kekeke =(

2) dont forget to backup ... backup ... and back more stuff up !!! ... you wont regret it!!!!!

neway enjoy everyone! ... life is a route of trial and errors. =c)
Reply With Quote
  #4  
Old January 10th, 2003, 12:10 PM
Registered User
 
Join Date: Jan 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
edalzell is on a distinguished road
Quote:
Originally posted by ethanS
Well I tried that already thanx ... but it was not what i intended.
What happened? What was the problem?

Quote:

I thought of replacing the Apache that came with the system ... but thanx a lot fer the time ...
Yikes, don't do that!!

OK, you will definately need to turn off web-sharing in the control panel. That is hard-coded to start up the built-in Apache.

Then just add the startup package to /Library/StartupItems. You shouldn't add things to /System/Library/StartupItems...Apple owns that and when upgrades happen you may lose your changes

Again, if you give us more details about what went wrong, we will be able to help you.
Reply With Quote
  #5  
Old January 10th, 2003, 05:27 PM
wiz wiz is offline
Registered User
 
Join Date: Jul 2002
Location: Sol
Posts: 537
Thanks: 0
Thanked 0 Times in 0 Posts
wiz is on a distinguished road
well i have a question..

is there a plist file or something that apple uses to map WEBSEVER=-NO- to the start web server option in the pref pane?
Reply With Quote
  #6  
Old January 10th, 2003, 05:37 PM
Registered User
 
Join Date: Jan 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
edalzell is on a distinguished road
I doubt it, why?
Reply With Quote
  #7  
Old January 10th, 2003, 07:30 PM
wiz wiz is offline
Registered User
 
Join Date: Jul 2002
Location: Sol
Posts: 537
Thanks: 0
Thanked 0 Times in 0 Posts
wiz is on a distinguished road
well simply change the mapping to APACHE2=-YES-,

problem solved!!!
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting 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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
A bit of nostalgia: A Salute to Mac OS X simX Apple News, Rumors & Discussion 31 March 24th, 2005 07:45 AM
HP Photosmart 1315 and USB Print Sharing zwheeloc Mac Classic System & Software 12 February 6th, 2003 09:20 PM
apps list Mac Osxtopus Mac OS X System & Mac Software 7 May 29th, 2002 12:31 PM
Apple: Forget XP, try the Mac tagliatelle Bob's Place 1 November 25th, 2001 07:12 AM


All times are GMT -5. The time now is 07:45 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC1
Copyright 2000-2010 DigitalCrowd, Inc.