Rewrite question

  • appaz
  • Born
  • Born
  • appaz
  • Posts: 1

Post 3+ Months Ago

Dear,
I am trying to solve this problem with apache ( 1.3.12) mod_write .

I would like to riderect reuqest from one old domain to a new one passing throug a splash page.
So I am using the following rules :
RewriteCond %{HTTP_HOST} test.olddomain.it
RewriteRule ^/(.*)$ http://test.newdomain.it/external/splash/splash.jhtml?"$1" [L,R=permanent]

But this does not work because parameters on the url are lost.
Also the main url is formed like :
http://test.olddomani.it/<somthing+parameters>
so I would like to redirect the requests to the splash page :
in a way like :
http://test.newdomain.it/splash.jhtml?"<something+parameters>"
Can anyone help me ?
Thank you in advance.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

Post Information

  • Total Posts in this topic: 1 post
  • Users browsing this forum: No registered users and 7 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.