redirect

htaccess rewrite rule redirect

I have some old urls http://www.website.com/result/?q=&result=1 http://www.website.com/result/?q=&result=2 http://www.website.com/result/?q=&result=3 http://www.website.com/result/?q=&result=4 etc.. probably going up to about 60 Is there anyway I can create one rule that redirects any query that looks like this to the...

Redirect after POST

I send POST request to the server, my login has a dot inside for ex:"Log.in", POST /api/users/Log.in/albums/ HTTP/1.1 Content-Type: application/atom+xml; charset=utf-8; type=entry Authorization: FimpToken realm="website.com", token="XXX" Host: website.com Content-Length: 255 ...data... Server respond: HTTP/1.1 302 FOUND Server: ngin...

What's this called and what should I read to get it working ?

Hey everybody, Probably someone has already asked this question but I'm not sure what I'm looking for. I've seen a couple of applications in PHP that are doing this kind of url rewriting "http://site.com/index.php/myaction/avariable" I've done a similar thing with mod_rewrite where you'd have almost the same link "http://site.com/whate...

random external websites redirect to localhost

Hi, I am running windows vista and recently installed xampp lite 1.7.3 to do some web development. I don't know if it is related to the install or something else, but now navigating to the page "www.pastebin.com" redirects me to my localhost. The url redirects to "www.pastebin.com/xampp" on my local hosts. I tried deleting my hosts f...