The fragment appears in the URL displayed by your browser, it's not
necessarily sent to the server.


/fragment.tcl
ns_return 200 text/plain "request: [ns_conn request]"

telnet localhost 80
GET /fragment.tcl#frag HTTP/1.0

404 Not Found.


telnet locahost 80
GET /fragment.tcl?foo=bar#frag

request: /fragment.tcl?foo=bar#frag HTTP/1.0


The first example fails because AOLserver is looking for a file named
fragment.tcl#frag, whereas in the second the URL is trimmed at the
question mark.

If all browsers sent the fragment portion of the URL, AOLserver would
fail a lot more often.  Therefore, it's unlikely they do.




On Sat, 2004-08-07 at 01:01, Tracy Adams wrote:
> And in my case, the # stays in the URL:
>
> Here is my URL:
>
> http://learning.coachville.com/dotlrn/clubs/coachingfundamentalsbacktobasics
> /coachingfundamentalsbacktobasics2/file-storage/view/class_3001:_fundamental
> _coaching_proficiency_#1:_crafts_collaborative_relationships/Overview?file_i
> d=4317
>
>
> Note the #1.
>
> Tracy
>
> -----Original Message-----
> From: Tracy Adams [mailto:[EMAIL PROTECTED]
> Sent: Saturday, August 07, 2004 1:59 AM
> To: 'AOLserver Discussion'
> Subject: RE: [AOLSERVER] ad_conn url cuts off after th #
>
> Interesting clue.
>
> When I got to a non-aolserver site, the # remains.  For example, go to
> http://list.auctions.shopping.yahoo.com/[EMAIL PROTECTED]
> amd the # remains. So I don't think the browser just cuts it off.
>
> But when I go to an AOLServer site, the # does disappear.
>
> So perhaps AOLServer is doing something - a redirect?
>
> Tracy
>
> -----Original Message-----
> From: AOLserver Discussion [mailto:[EMAIL PROTECTED] On Behalf Of
> Wojciech Kocjan
> Sent: Saturday, August 07, 2004 1:31 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [AOLSERVER] ad_conn url cuts off after th #
>
> Tracy Adams wrote:
> > Any idea how to reference the COMPLETE URL?
>
> The # is cut by the browser.
>
> [EMAIL PROTECTED]:~$ netcat -l -p 8080 195.82.181.6
> GET /test/a HTTP/1.1
> Host: dq.pl:8080
> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl-PL; rv:1.5)
> Gecko/20031007 MultiZilla/1.6.3.0d
> Accept:
> text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=
> 0.8,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
> Accept-Language: pl,en;q=0.5
> Accept-Encoding: gzip,deflate
> Accept-Charset: ISO-8859-2,utf-8;q=0.7,*;q=0.7
> Keep-Alive: 300
> Connection: keep-alive
>
> This is the url I entered in the browser.
> http://dq.pl:8080/test/a#b
>
> --
> WK
>
>
> --
> AOLserver - http://www.aolserver.com/
>
> To Remove yourself from this list, simply send an email to
> <[EMAIL PROTECTED]> with the
> body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject:
> field of your email blank.
>
>
> --
> AOLserver - http://www.aolserver.com/
>
> To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with 
> the
> body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field 
> of your email blank.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to