This forum is no longer active. Please post your questions to our new community site

Forums Trac

Trac + Subversion + Apache

Subscribe to Trac + Subversion + Apache 6 post(s), 2 voice(s)

 
Avatar user007 4 post(s)

Good morning,

I just speak a little english.

I deployed subversion, python and trac on a Windows Server 2003 R2. I used you documentation here : http://trac.edgewall.org/wiki/TracOnWindows

Everything works fine in standalone mode (tracd). I see my project subversion, it’s fine.

Then I configure Apache and virtual host. In “httpd.conf”, I have theses lines :
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dav_svn_module “C:/Program Files/Subversion/bin/mod_dav_svn.so”
LoadModule authz_svn_module “C:/Program Files/Subversion/bin/mod_authz_svn.so”
LoadModule sspi_auth_module modules/mod_auth_sspi.so
LoadModule python_module modules/mod_python.so

Then I write my virtual host like this :

ServerName subversion.cpaijb.ch:443
ErrorLog C:/xampp/apache/logs/subversion.cpaijb.ch-error_log
CustomLog C:/xampp/apache/logs/subversion.cpaijb.ch-access_log common
DocumentRoot “C:/SubVRepos/pages”
SSLEngine on
#SSLCipherSuite ALL:EXPORT56:RC4+RSA:HIGH:MEDIUM:LOW:SSLv2:EXP:eNULL
SSLCertificateFile conf/ssl.crt/server.crt
SSLCertificateKeyFile conf/ssl.key/server.key

<Location /svn>
DAV svn
SVNParentPath C:/SubVRepos/Repositories
SSLRequireSSL
AuthzSVNAccessFile C:\SubVRepos\auth\access.conf

  1. SSPI Config
    AuthType SSPI
    SSPIAuth On
    SSPIAuthoritative On
    SSPIDomain “EISI
  2. Do not authorize basic authentication !
  3. (password will be sent in plain text otherwise)
    SSPIOfferBasic On
    SSPIOmitDomain On
    SSPIUsernameCase lower
    AuthName “CPAI-JB Subversion repository”
    Require valid-user
  4. End SSPI Config
  1. TRAC Config
    Alias /trac “C:/Python25/Lib/site-packages/Trac-0.11.5-py2.5-win32.egg/trac/htdocs”

<Location /projects>
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv “C:/SubVRepos/trac/devCPAIJB”
PythonOption TracUriRoot /projects

  1. SSPI Config
    AuthType SSPI
    SSPIAuth On
    SSPIAuthoritative On
    SSPIDomain “EISI
    SSPIOmitDomain On
    SSPIUsernameCase lower
    Require valid-user
  2. End SSPI Config

<Directory “C:/Python25/Lib/site-packages/Trac-0.11.5-py2.5-win32.egg/trac/htdocs”>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all

<Directory “C:/Python25/Lib/site-packages/svn_python-1.6.4-py2.5-win32.egg”>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all

By an other computer, I can access to my trac site with authentification, but I have this error : Warning: Can’t synchronize with the repository (Unsupported version control system “svn”: “DLL load failed: The specified procedure could not be found.” ). Look in the Trac log for more information.

Can you help me please ? I don’t know what is the problem and I already read a lot of forum but no solution…

THANK YOU SO MUCH !!!!

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

This is a forum to help BitNami users and it seems that you are not using it. I would advice you to use it (it is really easy I promised). Anyway your problem seems a dll version problem. Subversion have two different libraries for Apache depending on the version (2.0.x or 2.2.x) Could you check this?

 
Avatar user007 4 post(s)

Good morning,

Thank you for the fast response.

Sorry I didn’t know it was for BitNami users. I don’t know BitNami.

We have Apache 2.2 and Subversion 1.5.6 (r36142).

Thank you very much !

 
Avatar user007 4 post(s)

I find the problem !!! I update Subversion from 1.5.6 to 1.6.5 and it works !!!

Thank yous

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

I’m glad to hear this.

Anyway could you try to install the BitNami Trac installer ? It is itself-contained and will not modify your system. This Stack install and configure all Trac dependencies (Apache, Subversion, Python, SQlite,..) Maybe this Stack would save some headaches :)

 
Avatar user007 4 post(s)

Hi :-)

Maybe I will install BitNami but not for the moment.

I say you if I install it.

Thanks a lot and have a nice day.

Forums Trac