Why doesn't Subversion allow to commit .htaccess files?

后端 未结 6 1227
一向
一向 2021-01-20 19:46

I can\'t commit .htaccess files from my Windows SVN client (TortoiseSVN). The error that is returned is:

Could not read status line: Existing connecti

6条回答
  •  攒了一身酷
    2021-01-20 19:59

    Check other apache config files. In my default /etc/apache2/modules.d/00_default_settings.conf (on a gentoo install), I have a FilesMatch "^.ht" section that does Deny from all.

    I'd suggest running a grep -r -i "\\.ht" * from the /etc/apache or /etc/httpd or /etc/apache directory, to see what you come up with.

    It may also be an AccessFileName directive, so grep for that too.

提交回复
热议问题