In the apache config there is a virtual host

<VirtualHost 123.123.123.123:80> ServerName svn.site.ru ServerAlias www.svn.site.ru ErrorLog /usr/local/apache/logs/svn.site.ru_error_log CustomLog /usr/local/apache/logs/svn.site.ru_access_log common ServerAdmin admin@mail.ru DocumentRoot /home/usvnuser/public_html/public <IfModule mod_suphp.c> suPHP_UserGroup nobody nobody </IfModule> <Directory /home/usvnuser/public_html/public> AllowOverride All Order allow,deny Allow from all </Directory> <Location /svn/> DAV svn AuthType Basic AuthName "Subversion repositories" AuthUserFile /home/usvnuser/public_html/files/htpasswd AuthzSVNAccessFile /home/usvnuser/public_html/files/authz SVNParentPath /home/usvnuser/public_html/files/svn SVNPathAuthz Off Require valid-user SVNListParentPath on </Location> </VirtualHost> 

In the /home/usvnuser/public_html folder, which is registered as DocumentRoot , there is a .htaccess file with the following content:

  <Files *.ini> Order Allow,Deny Deny from all </Files> RewriteEngine on RewriteBase "/" RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ index.php [NC,L] 

When I go to the URI of the form http://svn.site.ru/svn/test_project/trunk/ I get an error 500. If I remove .htaccess , the project at this address comes off, but other interfaces stop working. What needs to be registered in configs so that there is no substitution for this kind of URI?

  • In the Apache config, the LoadModule rewrite_module string is LoadModule rewrite_module uncommented? - Visman

0