Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

including anchor (#) with cgi parameters?



I remember having this problem when working on the international sites at 
Ingram.  As I recall, the specifications for things state that the # is 
not "part of the url" but rather a "fragment" and has to go at the 
very end.  So a correct url would be:

   http://www.me.com/cgi-bin/script.cgi?param=2#place

The RFC in question might be this one--I know it covers URLs, but I don't 
recall if there's a more recent RFC that takes precedence:

   http://www.w3.org/Addressing/rfc1808.txt


I don't recall whether we got this to work.  We were using JSPs under 
ServletExec and IE 5.0/5.5 on Win32 platforms.  I do know that we had 
differing results with different browsers and wouldn't be surprised if 
different browser/platform/version/patch-level combinations affected 
whether the #place is handled or not.

Hope that helps--

/will


On Tue, 29 Jan 2002, Peter R. Wood - Lists wrote:

> This is a fairly generic web question. If I've got a page that was
> generated by coming to a URL like:
> 
> http://www.me.com/cgi-bin/script.cgi?param=2
> 
> Is there a way to include an anchor in the URL (#place) to direct the
> browser to a specific place within the resulting page? I know that this
> works:
> 
> 	http://www.me.com/cgi-bin/script.cgi#place
> 
> But that doesn't allow for any parameters. I have tried this:
> 
> 	http://www.me.com/cgi-bin/script.cgi#place?param=2
> 
> But the script ignores the parameters. And I've tried:
> 
> 	http://www.me.com/cgi-bin/script.cgi?param=2#place
> 
> But there it seems to ignore the anchor.
> 
> Is there a way to do this? Or is it (as Ralph Wiggum would say)
> un-possible?
> 
> Thanks,
> 
> Peter
> 
> _______________________________________________
> Discuss mailing list
> Discuss at blu.org
> http://www.blu.org/mailman/listinfo/discuss
> 

-- 
whatever it is, you can find it at http://www.bluesock.org/~willg/
except Will--you can only see him in real life.





BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org