At the root of the samopisny site in .htaccess are the rules
RewriteEngine On RewriteBase / RewriteRule ^([a-z0-9_-]+).asp$ index.php?p=$1 [L,QSA] RewriteRule ^([a-z0-9_-]+)$ index.php?p=$1 [L,QSA] RewriteRule ^([a-z0-9_-]+).html$ index.php?p=$1 [L,QSA]
At the root there is a support directory in which I want to put another cms, but at the site.ru/support/ address an HTTP ERROR 500 error is issued
The new cms are such rules
DirectoryIndex index.php RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)/$ index.php?param=$1 [L,QSA] RewriteRule ^(.*).html(\?.*)?$ index.php?html=$1 [L,QSA]
Tell me how to be, how to redefine the rules and is it even possible?
RewriteRule ^(support)($|/) - [L]
remind you that the rules look from top to bottom and win the first suitable one - gecube