Htaccess File

aer123456/yougou/master/api/.htaccess

REQUEST_FILENAME
<IfModule mod_rewrite.c>
    
    RewriteEngine On
    RewriteBase /
 
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^admin/?(.*?)$ backend.php?url=$1 [QSA,L]
 
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(?!admin/)(.*?)$ index.php?url=$1 [QSA,L]
 
</IfModule>
Exit mobile version