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