|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now! |
|
#1
|
|||
|
|||
|
I am trying to make something (in .htaccess) where when some one comes to my site from a specific url it will redirect them to another site..
IE: user comes from URL to URL I want to redirect them to URL All others actually get to go to dtheatre.com Make sense? Any help would be appretiated. |
|
#2
|
|||
|
|||
|
I would use server side scripting to do it (PHP) - easy to check on the referer ...
|
|
#3
|
|||
|
|||
|
I wouldn't use any script to avoid any overhead. If you are running Apache, let it handle the job. Since you are based on the HTTP_REFERER field, one way to do it is to setenv. Check out -> http://forums.devshed.com/showthread.php?threadid=8952
Then go to Apache site and check out the RedirectMatch directive |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > .htaccess woes. |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|