You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Szerdahelyi, Andras " <an...@citi.com> on 2008/09/25 12:52:21 UTC

Internal server error on PROPFIND of .htaccess file

Hi users@subversion.tigris.org

I store a web project in an svn repository served by apache. My project
includes versioned .htaccess files. (for rewrite rules and access
control) I was able to import them fine into the repository but PROPFIND
fails with

svn: CHECKOUT request failed on
'/svn/gdsunix/!svn/ver/14/web/app/webroot/.htaccess'
svn: CHECKOUT of '/svn/gdsunix/!svn/ver/14/web/app/webroot/.htaccess':
500 Internal Server Error 

What am I doing wrong? Are the .htaccess files being parsed by apache?
I've set AllowOverride to None in two 
locations inside the apache config:

<Directory /home/svn>
    AllowOverride None
</Directory>

<Location /svn>
    DAV svn

    SVNParentPath /home/svn
    SVNPathAuthz off
    AuthType Basic
    AuthName "GDS repository"
    AllowOverride None
    AuthUserFile /usr/svnusers
    Require valid-user
</Location>

All other files can be checked out and updated fine.

All suggestions are welcome..
Thanks!
Andrew

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


Re: Internal server error on PROPFIND of .htaccess file

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Sep 25, 2008, at 07:52, Szerdahelyi, Andras wrote:

> I store a web project in an svn repository served by apache. My  
> project
> includes versioned .htaccess files. (for rewrite rules and access
> control) I was able to import them fine into the repository but  
> PROPFIND
> fails with
>
> svn: CHECKOUT request failed on
> '/svn/gdsunix/!svn/ver/14/web/app/webroot/.htaccess'
> svn: CHECKOUT of '/svn/gdsunix/!svn/ver/14/web/app/webroot/.htaccess':
> 500 Internal Server Error
>
> What am I doing wrong? Are the .htaccess files being parsed by apache?
> I've set AllowOverride to None in two
> locations inside the apache config:
>
> <Directory /home/svn>
>     AllowOverride None
> </Directory>
>
> <Location /svn>
>     DAV svn
>
>     SVNParentPath /home/svn
>     SVNPathAuthz off
>     AuthType Basic
>     AuthName "GDS repository"
>     AllowOverride None
>     AuthUserFile /usr/svnusers
>     Require valid-user
> </Location>
>
> All other files can be checked out and updated fine.

Sounds like you have some non-Subversion-related rule set up in your  
Apache configuration denying access to .htaccess files.



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