Htaccess File

KarenSimonyan/proffart/master/.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} !^(/frontend/web/|/admin/|/backend/web/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /frontend/web/$1
RewriteRule ^(/)?$ /frontend/web/index.php [L]
Exit mobile version