[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: impossible to import single files (solved)

From: Bernd BŁttner <b.buettner_at_mkc-gmbh.de>
Date: 2006-09-15 09:24:33 CEST

Patrick Burleson schrieb:
>> my problem seems to be solved.
>> First I updated to 1.4, but this didn't help.
>> The mistake was in httpd.conf
>> I embedded my subversion <location> in a <virtual host> container.
>> After shifting the <location> block outside any virtual host my prblem
>> was gone.
>> It is mentioned nowhere whether a repository can be under a virtual
>> host of apache or not.
>> Can you tell me if this is a point one has to know?
>>
>> Bernd
>>
>
> I use SVN with Virtual Hosts and it works just fine. In fact,
> different virtual hosts hosting different SVN repositories. I can't
> seem to find the original thread for this, what did your <virtualhost>
> config look like? I can try and compare it against mine.
>
> Patrick

Here the relevant parts from my httpd.conf:

...
#
LoadModule access_module modules/mod_access.so
LoadModule actions_module modules/mod_actions.so
LoadModule alias_module modules/mod_alias.so
LoadModule asis_module modules/mod_asis.so
LoadModule auth_module modules/mod_auth.so
LoadModule autoindex_color_module modules/mod_autoindex_color.so
LoadModule cgi_module modules/mod_cgi.so
LoadModule dav_module modules/mod_dav.so
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dir_module modules/mod_dir.so
LoadModule env_module modules/mod_env.so
LoadModule imap_module modules/mod_imap.so
LoadModule include_module modules/mod_include.so
LoadModule info_module modules/mod_info.so
LoadModule isapi_module modules/mod_isapi.so
LoadModule log_config_module modules/mod_log_config.so
LoadModule mime_module modules/mod_mime.so
LoadModule negotiation_module modules/mod_negotiation.so
LoadModule setenvif_module modules/mod_setenvif.so
LoadModule ssl_module modules/mod_ssl.so
LoadModule status_module modules/mod_status.so
...
LoadModule dav_svn_module "C:/Programme/Subversion/bin/mod_dav_svn.so"
LoadModule authz_svn_module "C:/Programme/Subversion/bin/mod_authz_svn.so"
...
LoadModule php5_module "C:/Programme/xampp/apache/bin/php5apache2.dll"
...
NameVirtualHost *:80

<VirtualHost *:80>
ServerName server.intern.mkc-gmbh.de
ServerAlias server
DocumentRoot "c:/programme/xampp/htdocs"
CustomLog logs/access_server.log combined
<Directory "c:/programme/xampp/htdocs">
     Options Indexes FollowSymLinks MultiViews Includes ExecCGI
        AddType text/html .shtml
         AddHandler server-parsed .shtml
         AddHandler cgi-script .cgi .pl
     AllowOverride All
     Order allow,deny
     Allow from all
</Directory>
</VirtualHost>
...
# SubVersion server
<VirtualHost *:80>
ServerName svn.intern.mkc-gmbh.de
ServerAlias svn
CustomLog logs/access_svn.log combined
<Location />
     DAV svn
     SVNParentPath "e:\svn"
     SVNListParentPath on
     AuthType Basic
     AuthName "Subversion repositories"
     AuthUserFile passwd
     AuthzSVNAccessFile "c:/Programme/Subversion/svnapache.conf"
# Require valid-user
</Location>
</VirtualHost>

I hope this helps

Bernd

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Sep 15 09:25:07 2006

This is an archived mail posted to the Subversion Users mailing list.