2
我有一個.htaccess文件,其內容如下阿帕奇國防部重寫條件
RewriteEngine on
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{REQUEST_URI} (\/image\/)
#RewriteRule . image.php
RewriteRule . index.php
什麼是指示Apache發送請求,如果/圖像請求URL中發現/於image.php正確的方法,如果沒有,我想index.php處理請求?
完美,正是我需要的。謝謝 – 2013-04-24 15:46:32
不客氣。 – 2013-04-24 15:47:24