0
我不知道是否有人能看一看這個htaccess的,告訴我爲什麼要在本地主機的工作,但不能在服務器htaccess的網址縮短本地工作不在服務器上
Options +FollowSymlinks
RewriteEngine On
RewriteBase /subdirectory
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^news(.*)$ news.php?q=$1 [L,QSA]
RewriteRule ^view/([^/]+)/([^/]+).html /view.php?content_id=$1&content_id=$2 [NC]
你在服務器上遇到什麼錯誤? – Tomgrohl