Htaccess File

KarenSimonyan/proffart/master/backend/.htaccess

REQUEST_FILENAME, REQUEST_URI
RewriteEngine On
RewriteBase /

#RewriteCond %{REQUEST_URI} ^/admin/
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^admin/(.*)$ /backend/web/$1
#RewriteRule ^(/)?$ /backend/web/index.php [L]

RewriteCond %{REQUEST_URI} !^/backend/web/

RewriteRule ^(.*)$ /backend/web/$1 [R]
#RewriteRule ^(/)?$ /backend/web/index.php [L]
Exit mobile version