实现有价值的IT服务
全部博文(709)
分类: 系统运维
2006-04-12 22:28:03
The
Contents |
The
Starting with Resin 3.0.19,
Since the rewrite rules are written in Resin's XML configuration files, XML escaping rules apply. In particular a & character must be escaped with &
To redirect a URL with a HTTP 302 redirect use:
To redirect a URL with a HTTP 301 moved-permanently use:
(requires Resin 3.0.18)
To internally forward a URL to a target using the Servlet forward() call use:
To send a HTTP 403 forbidden message for a URL, use:
To send a HTTP 404 Not Found message for a URL, use:
To send a HTTP 410 Gone message for a URL, use: