Mailing Lists: Apple Mailing Lists

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

Manually configuring apache in Leopard Server



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.

At the top of httpd.conf it has the following comments:

#### Feel free to edit this; the Server Admin app also edits this file but will
#### respect your changes unless noted below. See also ReadMe.txt.


I didn't see anything "noted below" that gave me any clue as to what it would and would not respect. ReadMe.txt wasn't very helpful either. But I tried configuring anyway hoping it was really smart enough to respect my edits. So I tried adding the following to the bottom of httpd.conf

<Location "/svn">
<Limit GET HEAD OPTIONS CONNECT POST PROPFIND PUT DELETE PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
Require user adminusername
</Limit>
AuthType Digest
AuthName "Subversion Realm"
DAV svn
SVNParentPath /var/svn
</Location>


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".

I don't really care how I get it configured. I just want to get my subversion server running. Apple clearly bundled in all the appropriate modules needed for subversion and made it easy to enable them so I have been surprised that I have had such a hard time finding any info on how to get it configured. I am afraid I am missing something really obvious. Are there some general rules on how to separate your stuff out from the Server Admin stuff? Is there some other way to configure subversion that I am just not aware of?

I am going to try using an include now but even if that works I am afraid this isn't the first time I'm going to need to do something the the conf files that aren't in the gui and an include might not always be the answer.

Thanks ahead of time to anyone that can help me out here.

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


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.