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