如果假設鍵入: http://www.domain.com/Items-Shopping-Shoe-2013ISAPI重寫不工作,查詢字符串國防部
我的網站需要看到: http://www.domain.com/items.asp?Cc=Shoe-2013
所以,我認爲這將是很簡單..
我編輯了httpd.ini for helicon Isapi用這個重寫:
RewriteRule ^(。*?com /)Items-Shopping - ([A-Za-z0-9 - ] +)?$ $ 1items.asp \?Cc = $ 2
雖然patern匹配,但它不起作用。
我對正則表達式的表達式對於新手和ISAPI rewrite..probably很明顯的:P
我這樣做在.htaccess文件: 重寫規則^ /項目 - 購物 - ([A-ZA-Z0-9 - ] +)$ /items.asp?Cc=$1 [NC] 沒有:( – RonB