【问题标题】:Rewriting url rewrite rule tio IIS 7重写 url 重写规则 tio IIS 7
【发布时间】:2014-01-05 08:54:43
【问题描述】:

希望你们能帮帮我,这是我的问题,我需要将此 URL Rewrite .httacces 规则配置到 web.config 文件中,因为该站点将在 IIS 7 上运行并且是用 php 开发的

RewriteBase /

RewriteRule    ^web/contacto.php$    contacto/  [R,L]
RewriteRule    ^web/marcas.php$    marcas/  [R,L]
RewriteRule    ^web/categoria.php$ busqueda/resultados/ [R,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule .* index.php [L]

提前致谢!

【问题讨论】:

  • IIS 管理器允许您导入 htaccess 规则并为您转换它们...

标签: php url url-rewriting web-config


【解决方案1】:

IIS 管理器允许您导入 htaccess 规则并为您转换它们...

【讨论】:

    猜你喜欢
    • 2014-05-01
    • 1970-01-01
    • 2011-05-07
    • 1970-01-01
    • 2014-10-27
    • 2011-04-21
    • 2014-08-22
    相关资源
    最近更新 更多