有谁会改.htaccess内容
# begin bootbeta
directoryindex index.html index.php
options +followsymlinks
rewriteengine on
rewritebase /
rewritecond %{http_host} ^example.com$ [nc]
rewritecond %{request_filename} !-f
rewriterule ^abc/(.*)$ abc/$1.php
#rewritecond %{query_string} ^name=(.+) [nc]
#rewriterule ^domain.php$ /domain/%1? [r=301,l]
# end bootbeta
我想输入 localhost/123456后
调用localhost/del.php处理页面,但url还是123456
del.php取得这个123456
就像空间博客一样解析是怎么做的
高手帮看一下,在线泪奔等~~~~~~~~~~~~
------解决方案--------------------
rewritecond %{query_string} ^(.*)$
rewriterule ^/zph/(\d+)/?$ /del.php?id=$1&%1 [l,nc]
修改后服务器需要重启才能生效
------解决方案--------------------
http://blog.chinaunix.net/uid-20157058-id-1974554.html
php codeoptions +includessetoutputfilter includesacceptpathinfo on
------解决方案--------------------
探讨
引用:
rewritecond %{query_string} ^(.*)$
rewriterule ^/zph/(\d+)/?$ /del.php?id=$1&%1 [l,nc]
修改后服务器需要重启才能生效
文件未找到404
------解决方案--------------------
探讨
引用:
引用:
引用:
rewritecond %{query_string} ^(.*)$
rewriterule ^/zph/(\d+)/?$ /del.php?id=$1&%1 [l,nc]
修改后服务器需要重启才能生效
文件未找到404
写错了,不好意思,应该是
re……