[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Rewrite url, http code 302 instead of 301.
jadtn@laposte.net
do-not-reply at jboss.com
Sun Feb 8 15:44:21 EST 2009
Hi,
I want to move permanently some page and domain.
When i look http header it's http code 302
So i specified 301, here the rewrite.properties under /conf/
RewriteRule ^/?pages/pub/typerencontres/([a-z/.]+)$ /$1 [R=301,L]
| RewriteRule ^/?pages/pub/typerencontres/([a-z/.]+)$ /$1 [R=301,L]
| RewriteRule ^/?pub/html/partenaires.jsf$ /pages/pub/annuaire-rencontres.jsf [R=301,L]
| RewriteCond %{HTTP_HOST} ^www.a.fr [NC]
| RewriteRule ^(.*) http://www.a.com$1 [R=301,L]
What s wrong?
I use jboss 4.2.2 / jsf
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4208028#4208028
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4208028
More information about the jboss-user
mailing list