|

July 16th, 2010, 10:02 AM
|
|
Friend of Wrox
|
|
Join Date: Aug 2008
Posts: 154
Thanks: 7
Thanked 1 Time in 1 Post
|
|
URL Canonicalization /Default.aspx vs. /
Hi i am on th 132 page of the book,
My problem is with this:
RewriteRule ([^?]*)(Index|Default)\.aspx$ $1 [RP,I]
It does not ridirect me to http://localhost/
I use Xp Pro
this is the http header:
Quote:
GET /Default.aspx HTTP/1.1
Accept: image/gif, image/jpeg, image/pjpeg, image/pjpeg, application/x-shockwave-flash, application/xaml+xml, application/vnd.ms-xpsdocument, application/x-ms-xbap, application/x-ms-application, application/vnd.ms-excel, application/vnd.ms-powerpoint, application/msword, */*
Accept-Language: en-gb
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; Trident/4.0; GTB6.5; .NET CLR 3.0.04506.30; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 1.1.4322; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.1; .NET CLR 2.0.50727; .NET4.0C)
Accept-Encoding: gzip, deflate
Host: localhost
Connection: Keep-Alive
Cookie: ASP.NET_SessionId=ku4vhp45vwb5uq45jfolptyd
/
Server: Microsoft-IIS/5.1
Date: Fri, 16 Jul 2010 15:00:18 GMT
|
thanks
__________________
bx
Last edited by bex; July 16th, 2010 at 11:07 AM..
|