LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-14-2011, 10:17 PM   #1
anishkumarv
Member
 
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 294

Rep: Reputation: 10
Configure SVN for live Website!!


Hi all,

Thanks in Adavance!!,

I want to configure Subversion for live website, and if i made any changes in code once i commit the code, need to reflect in the live website.

I installed SVN using this link

but when i check browser using http://localhost/repos

it shows forbidden error

2. changes need to reflect in live site means what are the other security things i need to do in SVN

Need your ideas to solve this thread!!
 
Old 09-14-2011, 10:33 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
with out knowing the details like WAS everything working before
was apache up and running ?
was SVN up and running ?

did everything have the correct permissions ?
Was there a SE error ?
if so what

Was there ANY error ?
if so what
What is in the logs ?
 
Old 09-15-2011, 08:04 AM   #3
anishkumarv
Member
 
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 294

Original Poster
Rep: Reputation: 10
Hi john,

now i cleared the forbidden error,using this entry in
Code:
SVNListParentPath On
in my configuration file, but even though issues continues in SVN

When i use to checkout from local Windows PC to server .

it shows
Quote:
Repository moved permanently to 'http://192.168.1.1/repos/'; please relocate
This is my configuration file entry:

Code:
<Location /repos>
    DAV svn
    SVNParentPath /var/www/svn/
    SVNListParentPath On 
       AuthType Basic
       AuthName "Subversion repos"
       AuthUserFile /etc/svn-auth-conf
       Require valid-user
</Location>
SVN Version: Subversion version 1.6.11
 
Old 09-15-2011, 02:33 PM   #4
anishkumarv
Member
 
Registered: Feb 2010
Location: chennai - India
Distribution: centos
Posts: 294

Original Poster
Rep: Reputation: 10
Hi all,

After Remove the slash in Server Path it works!!


Code:
<Location /repos>
    DAV svn
    SVNParentPath /var/www/svn
    SVNListParentPath On 
       AuthType Basic
       AuthName "Subversion repos"
       AuthUserFile /etc/svn-auth-conf
       Require valid-user
</Location>
but its works only when i give the url like this 192.168.1.1/svn/repos and i have doubt if i commit means .svn file also commit in live site, how to exclude the .svn files[COLOR="Silver"]

Last edited by anishkumarv; 09-15-2011 at 02:34 PM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Configure Rapid SVN on fedora cmaheshwari16 Linux - Server 12 08-26-2011 07:51 AM
GRUB-1.98 configure error while building HLFS SVN-20110128 dheck Linux - Software 0 02-02-2011 03:58 PM
[SOLVED] Can't configure Perl in LFS-SVN (Chapter 5.27). -lgdbm not found corbis_demon Linux From Scratch 6 08-26-2009 01:09 PM
Live Stream on Website snares Linux - Software 1 11-21-2008 12:15 PM
Missing configure script from svn norica Linux - Software 2 05-09-2008 09:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration