0
我需要配置一个特定的url重写配置,我找不出来。只是不知道是否有人能帮助Apache url重写规则
我需要重写http://city-business.domain.com/ *到HTPP://city.domain.com/business/*
我真的希望这是可能的...
谢谢, 帕维尔
我需要配置一个特定的url重写配置,我找不出来。只是不知道是否有人能帮助Apache url重写规则
我需要重写http://city-business.domain.com/ *到HTPP://city.domain.com/business/*
我真的希望这是可能的...
谢谢, 帕维尔
试试这个规则:
RewriteCond %{HTTP_HOST} =city-business.example.com
RewriteRule^http://city.example.com/business%{REQUEST_URI} [L,R=301]