You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Roberto <sm...@gmail.com> on 2009/04/28 17:47:56 UTC

Problems with svn1.6.1

Hi all,

 In my new server, i try to install and use a new version 1.6.1 of
subversion and when i import anything to my repository test show it:
roberto-limas-mac-pro:test Smux$ svn import . http://URL here -m
"test" --force-log
Authentication realm: <URL here:80> SVN do Smux
Password for 'Smux':
Adding         a
svn: PUT of '/svn/test/!svn/wrk/941ea846-f2d2-48f3-96bd-b29780330c57/a':
403 Forbidden (URL here)

inside virtualhost on httpd.conf i use:

RewriteEngine On

RewriteCond %{REQUEST_URI} ^/svn$
RewriteRule .* /svn/ [PT]


<Location /svn>
       DAV svn
       SVNParentPath /home/smux03/repos
       # Limit write permission to list of valid users.
       <LimitExcept GET PROPFIND OPTIONS REPORT>
             AuthType Basic
             AuthName "Smux's Repository"
             AuthUserFile /home/smux03/repos/authfiles/svn-htpasswd
             AuthzSVNAccessFile /home/smux03/repos/authfiles/svn-access.conf
             Require valid-user
       </LimitExcept>
</Location>

Anyone knows how do i to solve this problem?

Thanks,
Roberto Lima.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1966292

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Problems with svn1.6.1

Posted by Andrey Repin <an...@freemail.ru>.
Greetings, Roberto Lima!

>>>  In my new server, i try to install and use a new version 1.6.1 of
>>> subversion and when i import anything to my repository test show it:
>>> roberto-limas-mac-pro:test Smux$ svn import . http://URL here -m
>>> "test" --force-log
>>> Authentication realm: <URL here:80> SVN do Smux
>>> Password for 'Smux':
>>> Adding         a
>>> svn: PUT of '/svn/test/!svn/wrk/941ea846-f2d2-48f3-96bd-b29780330c57/a':
>>> 403 Forbidden (URL here)
>>
>> Look in Apache logs for more details, but most likely you do not have allowed
>> any access to your host from IP filters.
>> Include
>> Allow from <your IP>
>> in your Location block, restart Apache and see if it helps.
>> And with your setup ("Loc: /svn" + "SVNParentPath") you do not need to use
>> Rewrite. It only necessary for serving multiple repositories from root (When
>> "Loc: /").

> when i try loggin in my svn server show it in error_log:
>  [Tue Apr 28 17:04:00 2009] [error] [client 201.75.105.203] client
> denied by server configuration: /home/smux03/public_html/svn

> I'm not understand, but my repository path is /home/smux03/repos.

> I dont have filters in httpd.conf, my Allow is for all.

Read your Apache configuration carefully. Your description do not match your
log output.

> If I not need to use Rewrite, this can be changed to Alias /svn/
> "/home/smux03/repos/" ?

I said, you do not need anything of this kind either. Just delete these two
lines.

> PS: All this config i use in other server but installed with
> subversion 1.5.4 and there works perfectly. But now i have to
> configure this new server I set it for multiples customers in same
> server with virtualhost.

Irrelevant. Blind copy-paste won't work "because it were working somewhere
else". It's new installation, so configure it properly anew.

And please don't top-post.


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 29.04.2009, <23:31>

Sorry for my terrible english...

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1984272

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: Problems with svn1.6.1

Posted by Roberto <sm...@gmail.com>.
Hello Andrey,

when i try loggin in my svn server show it in error_log:
 [Tue Apr 28 17:04:00 2009] [error] [client 201.75.105.203] client
denied by server configuration: /home/smux03/public_html/svn

I'm not understand, but my repository path is /home/smux03/repos.

I dont have filters in httpd.conf, my Allow is for all.

If I not need to use Rewrite, this can be changed to Alias /svn/
"/home/smux03/repos/" ?

PS: All this config i use in other server but installed with
subversion 1.5.4 and there works perfectly. But now i have to
configure this new server I set it for multiples customers in same
server with virtualhost.


Roberto.


2009/4/28 Andrey Repin <an...@freemail.ru>:
> Greetings, Roberto!
>
>>  In my new server, i try to install and use a new version 1.6.1 of
>> subversion and when i import anything to my repository test show it:
>> roberto-limas-mac-pro:test Smux$ svn import . http://URL here -m
>> "test" --force-log
>> Authentication realm: <URL here:80> SVN do Smux
>> Password for 'Smux':
>> Adding         a
>> svn: PUT of '/svn/test/!svn/wrk/941ea846-f2d2-48f3-96bd-b29780330c57/a':
>> 403 Forbidden (URL here)
>
> Look in Apache logs for more details, but most likely you do not have allowed
> any access to your host from IP filters.
> Include
> Allow from <your IP>
> in your Location block, restart Apache and see if it helps.
> And with your setup ("Loc: /svn" + "SVNParentPath") you do not need to use
> Rewrite. It only necessary for serving multiple repositories from root (When
> "Loc: /").
>
>
> --
> WBR,
>  Andrey Repin (anrdaemon@freemail.ru) 29.04.2009, <5:26>
>
> Sorry for my terrible english...
>
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1981595

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: Problems with svn1.6.1

Posted by Andrey Repin <an...@freemail.ru>.
Greetings, Roberto!

>  In my new server, i try to install and use a new version 1.6.1 of
> subversion and when i import anything to my repository test show it:
> roberto-limas-mac-pro:test Smux$ svn import . http://URL here -m
> "test" --force-log
> Authentication realm: <URL here:80> SVN do Smux
> Password for 'Smux':
> Adding         a
> svn: PUT of '/svn/test/!svn/wrk/941ea846-f2d2-48f3-96bd-b29780330c57/a':
> 403 Forbidden (URL here)

Look in Apache logs for more details, but most likely you do not have allowed
any access to your host from IP filters.
Include
Allow from <your IP>
in your Location block, restart Apache and see if it helps.
And with your setup ("Loc: /svn" + "SVNParentPath") you do not need to use
Rewrite. It only necessary for serving multiple repositories from root (When
"Loc: /").


--
WBR,
 Andrey Repin (anrdaemon@freemail.ru) 29.04.2009, <5:26>

Sorry for my terrible english...

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1972027

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].