Forum Discussion
Matt_H_58911
Oct 29, 2009Nimbostratus
I would like to propose another way. Will this work?
when HTTP_REQUEST {
if { [HTTP::path] equals "/" } {
HTTP::redirect "http://www.domian.com/base/"
}
if { [HTTP::path] equals $null } {
HTTP::redirect "http://www.domain.com/base/"
}
}
So if someone were to go to www.domain.com/downloadfile.exe the file would be downloaded
if someone were to go to www.domain.com or www.domain.com/ they would be redirected to www.domain.com/base/
Please advise.