目前共有1篇帖子。
Apache重写规则
1樓 巨大八爪鱼 2010-9-9 13:34
RewriteEngine on
    RewriteCond %{HTTP_HOST} ^phpmyadmin.blue.cat$
    RewriteCond %{REQUEST_URI} !^/web/php/phpMyAdmin/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /web/php/phpMyAdmin/$1
    RewriteCond %{HTTP_HOST} ^phpmyadmin.blue.cat$
    RewriteRule ^(/)?$ /web/php/phpMyAdmin/index.php [L]
    
    RewriteCond %{HTTP_HOST} ^msg.blue.cat$
    RewriteCond %{REQUEST_URI} !^/web/php/msg/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ /web/php/msg/$1
    RewriteCond %{HTTP_HOST} ^msg.blue.cat$
    RewriteRule ^(/)?$ /web/php/msg/index.php [L]

回復帖子

  抱歉,本吧禁止發帖
內容:
用戶名: 您目前是匿名發表
 
 
©2010-2025 Arslanbar [手機版] [桌面版]
除非另有聲明,本站採用創用CC姓名標示-相同方式分享 3.0 Unported許可協議進行許可。