根文件夾了自己在一點點開發果醬...想知道如果任何可以幫助...它必須做.htaccess的修改網址的...將文件夾成爲通過htaccess的
我有一個例子...
foobar.com/foo/index2.php
我怎樣才能獲得url總是指向foobar.com/index2.php (使「富」成爲根文件夾)
我讀它必須與.htaccess和服務器權限...
RewriteEngine on
RewriteCond $1 !^(index\.php|images|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
樣的newbee的,可有人點我到正確的方向...