lighthawk Posted January 12, 2006 Posted January 12, 2006 Если кто что знает по этому поводу - объясните дураку, в чём не прав... устанавливал всё из изсходников под Fedora Core 2 Apache 2.2 стоит рядом с 1.3, повешен на 8080 порт и неплохо с первым уживается Установочная строка: ./configure --enable-modules=all --prefix=/usr/local/apache2 && make && make install subversion 1.1.4, устанавливал вместе с модом к апачу: ./configure --with-apxs=/usr/local/apache2/bin/apxs --prefix=/usr/local/svn && make && make install дальше в httpd.conf добавил следующие строки: <Location /svn> DAV svn SVNParentPath /svn </Location> Репозиторий создал в /svn командой: /usr/local/svn/bin/svnadmin create /svn добавил туда два файла: index.php и send.php после всего вышеперечисленного запустил ещё и svnserve для проверки: /usr/local/svn/bin/svnserve -d -r /svn в итоге из любого svn-клиента при обращении к svn://linux (bind настроен в локальной сети и поддерживает это доменное имя) всё ok, но когда пытаешься зайти в тот же репозиторий через http (http://linux:8080/svn) выдаёт ошибку 403 forbidden, а при прямом обращении к файлу ругается: <?xml version="1.0" encoding="utf-8" ?> - <D:error xmlns:D="DAV:" xmlns:m="http://apache.org/dav/xmlns" xmlns:C="svn:"> <C:error /> <m:human-readable errcode="2">Could not open the requested SVN filesystem</m:human-readable> </D:error> Кто знает, гдя я ошибся и что не так сделал? Вставить ник Quote
Ugnich Anton Posted January 12, 2006 Posted January 12, 2006 cat /var/log/httpd/errog_log (или где оно там у тебя лежит) Вставить ник Quote
lighthawk Posted January 12, 2006 Author Posted January 12, 2006 [Thu Jan 12 15:55:14 2006] [error] [client 192.168.1.10] (20014)Internal error: Can't open file '/svn/index.php/format', No such file or directory [Thu Jan 12 15:55:14 2006] [error] [client 192.168.1.10] Could not fetch resource information. [500, #0] [Thu Jan 12 15:55:14 2006] [error] [client 192.168.1.10] Could not open the requested SVN filesystem [500, #2] [Thu Jan 12 15:55:14 2006] [error] [client 192.168.1.10] Could not open the requested SVN filesystem [500, #2] Вставить ник Quote
Ugnich Anton Posted January 12, 2006 Posted January 12, 2006 1. Проверь права и владельца каталога, где лежат файлы. 2. Попробуй отключи SELinux. 3. "try putting your repository in /var/www (like /var/www/svn)" Не забудь написать, если заработает. ;) Вставить ник Quote
ToSHiC Posted January 12, 2006 Posted January 12, 2006 lighthawk, апач чрутается ? Вставить ник Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.