Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Manually configuring apache in Leopard Server



On Nov 16, 2007, at 4:03 PM, David Haines wrote:


On Nov 15, 2007, at 11:30 PM, Rick Gigger wrote:

I just installed a fresh copy of Leopard Server on a Mac Pro.  I am have been using Linux for the past 6 years but am exploring moving some things over to Mac OS X Server.  The first thing I am trying to do is set up subversion on the native apache so I can use it as my primary version control server.  It was easy of course to enable the correct modules, but unless I am missing something big there is no way to enable or configure a specific svn repository inside of Server Admin.  That is fine, I am used to configuring apache manually anyway.  But I ran into lots of problems trying to edit the config files and not having my settings get overwritten any time Server Admin updated it's configuration.
<snip>



This worked great if I manually restarted apache just after editing.  But as soon as I went back to Server Admin it preserved everything except it changed "DAV svn" to "DAV Off".

Generally any edit by hand is a one-way trip. In some cases with some services (eg: postfix) in past iterations of OS X Server, one's manual edits have on some occassions been preserved, but it's always been a bit of a crapshoot. 

So what do you do if you want to use an apache feature that Server Admin doesn't cover?


You can safely use the admin GUI tools to stop and start services that you've manually configured, but that's about it. And besides, just use:
serveradmin
eg: 
sudo serveradmin stop web
or "start web" 
via shell acess. man serveradmin for more
and you can still use: apachectl restart  (apachectl configtest , etc.) after making a manual edit.

Yes, my problems come in after I edit anything else in the Server Admin gui, then save.

As for apache + svn in 10.5 server, you might enjoy the following (came across it just recently):

That is exactly what I did initially but as soon as I changed any settings in Server Admin it munged the DAV svn line, changing it instead to DAV off.  I got around this by using an include and putting the Location section in there instead if putting it right inside the managed virtual host file.  Now it seems to work fine and appears immune to at least basic changes in Server Admin.

Thanks,

Rick
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden

References: 
 >Manually configuring apache in Leopard Server (From: Rick Gigger <email@hidden>)
 >Re: Manually configuring apache in Leopard Server (From: David Haines <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.