help regarding redirecting with .htaccess

Started on the old forum in May 2011 · view the original in the archive · old links redirect here

2 replies · 349 views · started 15 years ago · 1 min read

2 participants
arpan.rnc Developer · 94 posts #1

hi people , i want to know is it possible to redirect a user who is on one of my site at a particular directory and/or page to the same directory and/or page on another site with the same directory structure via the 500 errorDocument ? like suppose he is on xyz.com/mp3/index.php?u=something and there occurs a server overload ,how can i redirect him to pqr.com/mp3/index.php?u=something using the errorDocument 500 of .htaccess ? i mean to say how can i get his current location in .htaccess ? we can easily redirect to another site.but how can we redirect to the same page in the other site, that he is on currently ?

thanx in advance.

subzero Super moderator Fellow · 3,954 posts #2

More likely 500 handles that overload and if you wish to limit users then php code it ...

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

Write your reply now; next you create a free account (or sign in) and it is posted right away. Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close