求一个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 放在同目录下 mysql 求ASP模板. 程序问题,大家帮~~ 有办法能够将他们链接起来吗? is_dir不支持中文文件夹,怎么解决? PHP和Apache配置之后,运行时PHP源代码显示在IE上的问题(PHP不被执行) 这是什么时间类型 请问用PHP怎样调用ASP.NET(C#)写的带有输出参数的WEB SERVICE? php中可以使用mysql中的grant的语句吗?? 有做过聊天室的吗,谁知道网易的聊天室是怎么做的,好像不用刷桢啊 ! .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 放在同目录下