0
有人可以幫助我的代碼只使用一個文件。.htaccess重寫
例如
domain.com/
domain.com/hello/world/
domain.com/help.php
上述所有應該加載
domain.com/index.php
我在家裏做,但我CNT記得它和我沒有訪問該代碼。
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php
我認爲以下是我記得的東西,但它不工作。
+1提醒打開rewrite_module更好:) – Val 2010-11-08 11:53:29