You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Bernd Büttner <b....@mkc-gmbh.de> on 2006/09/14 15:44:06 UTC

Re: impossible to import single files (solved)

Ryan Schmidt schrieb:
<..snip>
> 
> Then I'm not sure what to say. I agree that the PROPFIND status code 500 
> seems wrong, but I have no information about why it would be that way or 
> what to do now. Maybe a developer can comment.
> 
> 

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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: Re: impossible to import single files (solved)

Posted by Rob van Oostrum <ro...@blastradius.com>.
I didn't read up on the previous installments of this thread, but I can say unequivocally that you can run SVN from within a <Location> from within a <VirtualHost>.

If you were having problems getting this to work the issue was very much not with Subversion.


R.

> -----Original Message-----
> From: Bernd Büttner [mailto:b.buettner@mkc-gmbh.de]
> Sent: Thursday, September 14, 2006 11:44 AM
> To: Ryan Schmidt
> Cc: Subversion List
> Subject: Re: impossible to import single files (solved)
> 
> Ryan Schmidt schrieb:
> <..snip>
> >
> > Then I'm not sure what to say. I agree that the PROPFIND status code 500
> > seems wrong, but I have no information about why it would be that way or
> > what to do now. Maybe a developer can comment.
> >
> >
> 
> 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
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: impossible to import single files (solved)

Posted by Bernd Büttner <b....@mkc-gmbh.de>.
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

Re: impossible to import single files (solved)

Posted by Patrick Burleson <pb...@gmail.com>.
On 9/14/06, Bernd Büttner <b....@mkc-gmbh.de> wrote:
> Ryan Schmidt schrieb:
> <..snip>
> >
> > Then I'm not sure what to say. I agree that the PROPFIND status code 500
> > seems wrong, but I have no information about why it would be that way or
> > what to do now. Maybe a developer can comment.
> >
> >
>
> 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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org