0
我有我的网站结构下:www.somesite.com/index.php?page=p_section_page.php
帮助mod_rewrite的
我希望我的网站显示是这样的:www.somesite.com/section/page
或只是www.somesite.com/page/
试图写入规则,像这样的.htaccess文件:
Options +FollowSymLinks
Options +Indexes
RewriteEngine On
RewriteBase/
RewriteRule PAGE index.php?page=p_section_page.php
,如果我尝试www.somesite.com/page/
但图像,CSS文件和JS,尝试访问www.somesite.com/page/css/
或www.somesite.com/images/
目录这显然不EXI它工作正常ST。
这里有什么帮助吗?谢谢!
谈论受过教育的答案:),我完全忽略了这方面。太感谢了。 – Gabriel 2011-01-31 13:26:49