Welcome! Log In Create A New Profile

Advanced

Nginx + Apache + Subversion

March 09, 2011 04:50AM
Приветствую.

Криво работает связка Nginx (HTTPS) + Apache (HTTP) + Subversion. А
именно checkout работает, commit новых файлов работает, а вот изменение
существующих файлов обламывается с ошибкой. svn import тоже обламывается
на первом файле.

sak@lynx ~/tuugo $ touch ./test
sak@lynx ~/tuugo $ svn add ./test
A test
sak@lynx ~/tuugo $ svn commit -m "Testing"
Adding test
Transmitting file data .
Committed revision 14563.

sak@lynx ~/tuugo $ vi ./untitled.php
sak@lynx ~/tuugo $
sak@lynx ~/tuugo $ svn commit -m "Testing 2"
Sending untitled.php
svn: Commit failed (details follow):
svn: File 'untitled.php' is out of date
svn: '/svn/tuugo/!svn/bc/14562/untitled.php' path not found

Смущает !svn в пути

если Апач выставить напрямую мордой в инет - все работает без проблем.


У apache-2.2.16 один дефолтный virtualhost:
Listen localhost:8880


<VirtualHost _default_:8880>
ServerName localhost
ServerAdmin webmaster@localhost

CustomLog /var/log/apache2/localhost_access.log common
ErrorLog /var/log/apache2/localhost_error.log

DocumentRoot "/home/www/default/htdocs"

<Location /svn>
DAV svn
SVNParentPath /home/svn/repo
AuthzSVNAccessFile /home/svn/conf/access.conf

AuthType Basic
AuthName "Restricted area"
AuthUserFile /home/svn/conf/users
Require valid-user

Order allow,deny
Allow from all
</Location>
</VirtualHost>


nginx-0.8.53:

server {
listen 443 default ssl;
server_name localhost;

ssl on;

...

location /svn {
proxy_pass http://localhost:8880;

set $fixed_destination $http_destination;
if ( $http_destination ~* ^https(.*)$ ) {
set $fixed_destination http$1;
}
proxy_set_header Destination $fixed_destination;

proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;
}

subversion-1.6.16

Linux 2.6.36-gentoo-r5 x86_64


Есть идеи?


Спасибо.

_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

Nginx + Apache + Subversion

sergey.kobzar March 09, 2011 04:50AM

Re: Nginx + Apache + Subversion

Maxim Dounin March 09, 2011 07:46AM

Re: Nginx + Apache + Subversion

sergey.kobzar March 09, 2011 08:16AM

Re: Nginx + Apache + Subversion

Maxim Dounin March 09, 2011 02:06PM

Re: Nginx + Apache + Subversion

sergey.kobzar March 09, 2011 03:10PM

Re: Nginx + Apache + Subversion

Maxim Dounin March 09, 2011 08:44PM

Re: Nginx + Apache + Subversion

sergey.kobzar March 10, 2011 02:28AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 238
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready