小弟用opencart,用的是win虚拟主机,支持rewrite,但是没有httpd.ini,小弟对此不了解,想求仙人帮忙转写下,万分感谢。---------------------------------------------------------------------Options -Indexes
<FilesMatch "\.tpl">
Order deny,allow
Deny from all
</FilesMatch>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]-----------------------------------------------------------------------
<FilesMatch "\.tpl">
Order deny,allow
Deny from all
</FilesMatch>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [L,QSA]-----------------------------------------------------------------------
解决方案 »
- RHEL中PHP带--with-snmp编译报错
- wordpress calender插件使用
- 求助,2012新版EMS验证码可以识别,但还是不能实现程序自动跟踪查询
- iphone手机应用请求post方式请求php接口时参数丢失
- 求utf-16le 转gbk编码函数(iconv,mb_convert_encoding除外)
- DISCUZ~!!!!真是不知道有什么用
- 相这种企业站,PHP的,做一个大概要多少钱?
- 一道面试题,大虾,帮看下
- 祝CSDN的朋友们2014元旦快乐,肯定高手帮我解密个文件,PHP加密的,搞了半天没搞明白。 求高手
- 版主能帮忙解密下php吗?这是程序
- 如何对PHP文件进行加密?
- CURL上传失败,求助
RewriteRule ^(.*)\?*$ index.php?_route_=$1 [N,I]
如不行再试下:
RewriteRule (.*)\?* index.php?_route_=$1 [N,I]