Jump to content
HWBOT Community Forums

wprime & apache rewrite rules


Recommended Posts

wPrime had an issue with an apache rewrite rule; a redirect caused the post parameters to be dropped.


We redirect all ww.hwbot.org traffic to hwbot.org. Does someone know how to include the original POST parameters in the rule? Or How to exclude one specific url from redirect (http://www.hwbot.org/submit.client.result.do)?


RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.hwbot\.org [NC]
RewriteRule ^/(.*) http://hwbot.org/$1 [L,R=301]


Maybe you can specify it should only happen for GET requests, instead of all? But how?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...