我正在使用regx进行URL重写。System.Xml.XmlNode oNode in _oRules.SelectNodes("rule")) oReg = new Regex(oNode.SelectSingleNode("urloNode.SelectSingleNode("rewrite/text()").Value); } Context.RewritePath(sPa
我正在尝试让URL重写正常工作,所以我把htaccess.txt改成了.htaccess,并打开了URL重写。我的目标是去掉URL中的/index.php?/部分。它似乎对所有文章都是这样做的,你知道为什么吗?, comment it out (add # to
# beginning of line), reload your site in your browser and te
我尝试使用URL重写模块,但由于某些原因,它不会重写URL。如果我去这个网站:http://localhost/projectredrum/foto.php,它将显示正确的网页,但它不会重写我想要的网址。-d然而,当我这样做时,我遇到了一个404 page not found问题。
有人知道为什么URL重写</em