|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
apache configuration questionsHello, I
compiled the subversion software on my solaris 10 server. I need to set
up the server portion of it. I read on http://svnbook.red-bean.com/en/1.0/ch06s04.html
when setting up as httpd, the Apache HTTP server, I
have one site with a DocumentRoot of /usr/local/apache2/htdocs/docsite. I was going to make docsite the subversion repository but then
I saw this? “Be
sure that when you define your new Location, it doesn't overlap with other exported Locations. For
example, if your main DocumentRoot is /www, do not export a Subversion repository in <Location /www/repos>. If a request comes in for the
URI /www/repos/foo.c, Apache won't know whether to
look for a file repos/foo.c in the DocumentRoot, or whether to delegate mod_dav_svn to return foo.c from the Subversion repository.” My
users just want to edit a document and have it immediately reflected on the web
site without having to move it to another location. Do you have any suggestions?
Can I use another directory for the repository and just create a symbolic link from
docsite to the repository? Thank
you very much. Sincerely, Christine
Ross Announcing HCCS is
the leading provider of effective online training courses and
learning management systems to healthcare facilities. HCCS has
provided over 2.5 million hours of compliance and competency training
courseware to hospitals, teaching facilities, medical schools, health
plans and other health care entities. The HCCS Compliance Learning
Library contains expert training content in the areas of Medicare,
Medicaid, HIPAA, Harassment, Research, Patient Safety and Quality
Improvement Compliance. The HCCS Healthcare Learning
Platform (HLP) is a healthcare specific Learning and Competency Management
System. http://www.hccs.com
(516) 478-4100 or (877) 933-hccs. This
email message is for the sole use of the intended recipient(s) and contains
confidential and privileged information. Any unauthorized review, use,
disclosure or distribution is strictly prohibited. If you are not the intended
recipient or have received this communication in error please contact the
sender by reply e-mail and destroy all copies of the original message. Thank
you. |
|
|
Re: apache configuration questionsOn Mon, Nov 2, 2009 at 3:39 PM, Christine Ross <cross@...> wrote:
> Hello, > > I compiled the subversion software on my solaris 10 server. I need to set > up the server portion of it. I read on > http://svnbook.red-bean.com/en/1.0/ch06s04.html when setting up as httpd, > the Apache HTTP server, > > I have one site with a DocumentRoot of /usr/local/apache2/htdocs/docsite. I > was going to make docsite the subversion repository but then I saw this? > > “Be sure that when you define your new Location, it doesn't overlap with > other exported Locations. For example, if your main DocumentRoot is /www, do > not export a Subversion repository in <Location /www/repos>. If a request > comes in for the URI /www/repos/foo.c, Apache won't know whether to look for > a file repos/foo.c in the DocumentRoot, or whether to delegate mod_dav_svn > to return foo.c from the Subversion repository.” > > My users just want to edit a document and have it immediately reflected on > the web site without having to move it to another location. Do you have any > suggestions? Can I use another directory for the repository and just > create a symbolic link from docsite to the repository? > You can create a hook to keep an up to date copy. See http://subversion.tigris.org/faq.html#website-auto-update ------------------------------------------------------ http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2413965 To unsubscribe from this discussion, e-mail: [users-unsubscribe@...]. |
|
|
RE: apache configuration questionsOne question though. How does that eliminate the problems of "Apache won't know whether to look for a file repos/foo.c in the DocumentRoot, or whether to delegate mod_dav_svn to return foo.c from the Subversion repository."
DirectoryRoot /usr/local/apache2/htdocs/docsite and <Location /docsite> DAV svn SVNParentPath /usr/local/apache2/htdocs/docsite </Location> Sincerely, Christine Ross HCCS - Experts in Healthcare Learning (516)478-4100, x108 cross@... Announcing COI-SMART! - A new solution for tracking & managing Conflicts of Interest. HCCS is the leading provider of effective online training courses and learning management systems to healthcare facilities. HCCS has provided over 2.5 million hours of compliance and competency training courseware to hospitals, teaching facilities, medical schools, health plans and other health care entities. The HCCS Compliance Learning Library contains expert training content in the areas of Medicare, Medicaid, HIPAA, Harassment, Research, Patient Safety and Quality Improvement Compliance. The HCCS Healthcare Learning Platform (HLP) is a healthcare specific Learning and Competency Management System. http://www.hccs.com (516) 478-4100 or (877) 933-hccs. This email message is for the sole use of the intended recipient(s) and contains confidential and privileged information. Any unauthorized review, use, disclosure or distribution is strictly prohibited. If you are not the intended recipient or have received this communication in error please contact the sender by reply e-mail and destroy all copies of the original message. Thank you. -----Original Message----- From: larrys@... [mailto:larrys@...] On Behalf Of Larry Shatzer, Jr. Sent: Monday, November 02, 2009 5:48 PM To: Christine Ross Cc: users@... Subject: Re: apache configuration questions On Mon, Nov 2, 2009 at 3:39 PM, Christine Ross <cross@...> wrote: > Hello, > > I compiled the subversion software on my solaris 10 server. I need to set > up the server portion of it. I read on > http://svnbook.red-bean.com/en/1.0/ch06s04.html when setting up as httpd, > the Apache HTTP server, > > I have one site with a DocumentRoot of /usr/local/apache2/htdocs/docsite. I > was going to make docsite the subversion repository but then I saw this? > > "Be sure that when you define your new Location, it doesn't overlap with > other exported Locations. For example, if your main DocumentRoot is /www, do > not export a Subversion repository in <Location /www/repos>. If a request > comes in for the URI /www/repos/foo.c, Apache won't know whether to look for > a file repos/foo.c in the DocumentRoot, or whether to delegate mod_dav_svn > to return foo.c from the Subversion repository." > > My users just want to edit a document and have it immediately reflected on > the web site without having to move it to another location. Do you have any > suggestions? Can I use another directory for the repository and just > create a symbolic link from docsite to the repository? > You can create a hook to keep an up to date copy. See http://subversion.tigris.org/faq.html#website-auto-update ------------------------------------------------------ http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2413970 To unsubscribe from this discussion, e-mail: [users-unsubscribe@...]. |
|
|
Re: apache configuration questionsGreetings, Christine Ross!
> One question though. How does that eliminate the problems of "Apache won't > know whether to look for a file repos/foo.c in the DocumentRoot, or whether > to delegate mod_dav_svn to return foo.c from the Subversion repository." It's irrelevant for Apache 2.2 as I know. It always look for DAV first. But to be on safe side, don't put any real files that would happen on the same URL, as the location of SVN repository. > DirectoryRoot /usr/local/apache2/htdocs/docsite and > <Location /docsite> > DAV svn > SVNParentPath /usr/local/apache2/htdocs/docsite > </Location> Real bad idea, i'd say. Try DirectoryRoot /home/svn/htdocs and <Location /docsite> DAV svn SVNParentPath /home/svn/repos </Location> (However, create appropriate user (svn) first, and assign him to the same primary group, as your Apache server running.) Also, it would be good if you don't top-post. -- WBR, Andrey Repin (anrdaemon@...) 03.11.2009, <3:58> Sorry for my terrible english... ------------------------------------------------------ http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2413987 To unsubscribe from this discussion, e-mail: [users-unsubscribe@...]. |
|
|
Re: apache configuration questionsOn Nov 2, 2009, at 19:03, Andrey Repin wrote:
> Greetings, Christine Ross! > >> One question though. How does that eliminate the problems of >> "Apache won't >> know whether to look for a file repos/foo.c in the DocumentRoot, or >> whether >> to delegate mod_dav_svn to return foo.c from the Subversion >> repository." > > It's irrelevant for Apache 2.2 as I know. > It always look for DAV first. Oh? I hadn't heard. Is there a fixed bug report or a changeset you can point to confirming this? I would still recommend what we've always recommended: do not put a Subversion repository inside your document root. There's no reason at all for it to be there, and it has (historically at least) caused problems to do so. ------------------------------------------------------ http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2415690 To unsubscribe from this discussion, e-mail: [users-unsubscribe@...]. |
| Free embeddable forum powered by Nabble | Forum Help |