求一个htaccess规则。请高手帮写一下。谢谢 求一个htaccess规则/tel/index.php?id=4 转换成下面这样/4__tel/index.php 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 RewriteEngine onRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-fRewriteRule ^.*/([0-9]+)__tel/index.php /tel/index.php?id=$1 [QSA,L] 例子。http://vipcha22.net.id351.alias.yunhosting.com/tel/index.php?id=44http://vipcha22.net.id351.alias.yunhosting.com/44__tel/index.php好像不行阿。。急急 apache 配置文件中的 rewrite_module 开了吗? rewrite_module这个要怎么看? 应该都开的了 方法1. RewriteEngine onRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-fRewriteRule ^(.*)$ index.php/$1 [QSA,L]RewriteRule ^(.*)/([0-9]+)__tel/index.php $1/tel/index.php?id=$2 [QSA,L]方法2.RewriteEngine onRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-fRewriteBase /tel/RewriteRule ([0-9]+)__tel/index.php index.php?id=$1 [QSA,L].htaccess和tel 放在同目录下 PHP安装问题 请各位帮我看看是哪里出错? PHP连接不上 北京地区PHP实习待遇 ? 请问:为什么红色部分语句会显示为NULL呢? ffmpeg 转换视频的问题,请指点 怎么样得到2006年的某一周数,列出那周的七天? 求救:failed to open stream: No such file or directory in 关于SRPBoard社区的模块化设计的问题(100分) 关于用php 如何去连接sql server 7.0数据库?急急急急急急急急!!! .htacess 文件 redirect 跳转难题 像这样的程序要怎么整合?有没有例子什么的。
http://vipcha22.net.id351.alias.yunhosting.com/tel/index.php?id=44http://vipcha22.net.id351.alias.yunhosting.com/44__tel/index.php好像不行阿。。急急
这个要怎么看? 应该都开的了
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php/$1 [QSA,L]
RewriteRule ^(.*)/([0-9]+)__tel/index.php $1/tel/index.php?id=$2 [QSA,L]方法2.
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteBase /tel/
RewriteRule ([0-9]+)__tel/index.php index.php?id=$1 [QSA,L]
.htaccess和tel 放在同目录下