Hello all.
Win2k server, PHP 4.2.3, PHPNuke 6.0, IIS.
This code works great for redirecting the user:
$redirect = getenv("HTTP_HO ST");
if ($redirect=="so mething.mydomai n.com"){
header("Locatio n:http://www.mydomain.co m/modules.php?nam e=something");
}
However, if I try this:
if ($redirect==www .mydomain.com/something){
header("Locatio n:http://www.mydomain.co m/modules.php?nam e=something");
}
it generates 1) a 404 error, and 2) something about a TRANSLATE verb in my
URLScan log.
Does anyone know which IIS "verb" handles this ? I cannot find anything on
TRANSLATE,
and PHP is configured in IIS to accept/handle ALL verbs.
Many thanks.
Win2k server, PHP 4.2.3, PHPNuke 6.0, IIS.
This code works great for redirecting the user:
$redirect = getenv("HTTP_HO ST");
if ($redirect=="so mething.mydomai n.com"){
header("Locatio n:http://www.mydomain.co m/modules.php?nam e=something");
}
However, if I try this:
if ($redirect==www .mydomain.com/something){
header("Locatio n:http://www.mydomain.co m/modules.php?nam e=something");
}
it generates 1) a 404 error, and 2) something about a TRANSLATE verb in my
URLScan log.
Does anyone know which IIS "verb" handles this ? I cannot find anything on
TRANSLATE,
and PHP is configured in IIS to accept/handle ALL verbs.
Many thanks.
Comment