TP 服务器phpmyadmin用不了原因之一 开启伪静态 需要修改文件
更新:HHH   时间:2023-1-7


  1. httpd.ini


  2. [ISAPI_Rewrite]
    RewriteRule .*\.(?:gif|jpg|png|css|js|txt|jpeg|swf|flv) $0 [I,L]
    RewriteRule /httpd(?:\.ini|\.parse\.errors) / [F,I,O]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(?!/Public)(?!/phpMyAdmin)(?!/index.php)(?!/admin.php)(.*)$ /index.php/$1 [L]
  3. htaccess
  4. <IfModule mod_rewrite.c>
      Options +FollowSymlinks
      RewriteEngine On
    
      RewriteCond %{REQUEST_FILENAME} !-d
      RewriteCond %{REQUEST_FILENAME} !-f
      RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
    </IfModule>
返回web开发教程...