| Posted: 17 May 2010 at 4:39pm | IP Logged
|
|
|
We have a main website www.company.com that enables you to start an insurance quote and it then pushes the visitor to quote.company.com. However we want to prevent users from bookmarking pages during their journey through quote.company.com and we'd like to block ALL visits directly to the domain quote.company.com except there is one page that users can visit directly when they retrieve a quote via email, call it quote.company.com/retrievequote.aspx.
Right now I have the following rule in place but it's not working right. The idea was to look at the referer and if it is null or not company.com then push user to www.company.com.
#RewriteCond Referer: (!http://(?:www\.|quote\.)?company\.com).+ #RewriteRule /(!retrievequote.aspx) http\://www.company.com [I,RP]
We are using ISAPI Rewrite for ISA Server 2006.
Thanks,
|