我有这样的.htaccess文件:
<IFMODULE mod_rewrite.c>
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) new_web.php
</IFMODULE>
php_flag register_globals off
php_value session.auto_start 0
php_value session.use_only_cookies 1
php_value session.use_trans_sid 0
加载此网址时
http://localhost/test_title/en/test
这是我的apache access.log
::1 - - [11/Apr/2016:18:41:02 +0430] "GET /test_title/en/test HTTP/1.1" 200 12072 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36"
::1 - - [11/Apr/2016:18:41:03 +0430] "GET /dynamics/captcha.php HTTP/1.1" 200 992 "http://localhost/test_title/en/test" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36"
::1 - - [11/Apr/2016:18:41:03 +0430] "GET /test_title/en/test HTTP/1.1" 200 12072 "http://localhost/test_title/en/test" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36"
::1 - - [11/Apr/2016:18:41:03 +0430] "GET /test_title/en/favicon.ico HTTP/1.1" 200 16637 "http://localhost/test_title/en/test" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36"
::1 - - [11/Apr/2016:18:41:03 +0430] "GET /test_title/en/favicon.ico HTTP/1.1" 200 16637 "http://localhost/test_title/fa/test" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36"
::1 - - [11/Apr/2016:18:41:03 +0430] "GET /test_title/en/test HTTP/1.1" 200 12072 "http://localhost/test_title/fa/test" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/49.0.2623.110 Safari/537.36"
我想加载此网址/test_title/en/test
一次不加载