Click here to get back home

favorite with a different address

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
favorite with a different address fiversen 11-02-2007
Posted by fiversen on November 2, 2007, 2:01 pm
Please log in for more thread options
Hello,

I have a site for the collegue with a football winning game.

..fussball.html

there I redirect the user to an cgi-page

../f11.cgi

>From time to time I change the cgi-pages,
so the redirection goes to
.../f12.cgi

The problem:
The user save the address in a favorite.
But in the favorite the cgi-page is save.

Is it possible to change the display address in the browser address
bar
or
is it possible to prepare the settings of of the favorite.

---
Thanks
Frank Iversen


Posted by André Gillibert on November 2, 2007, 2:25 pm
Please log in for more thread options
fiversen wrote:

> Hello,
>
> I have a site for the collegue with a football winning game.
>
> ..fussball.html
>
> there I redirect the user to an cgi-page
>
> ../f11.cgi
>
>> From time to time I change the cgi-pages,
> so the redirection goes to
> .../f12.cgi
>

If I understand correctly, fussball.html is a page that sometimes
redirects to f11.cgi, and sometimes f12.cgi, and your problem is that,
people should bookmark fussball.html, but actually bookmark either f11.cgi
or f12.cgi.

This is the difference between HTTP 301 and HTTP 302 redirections.

HTTP 301 for fussball.html would mean: Resource moved to f11.cgi (or
f12.cgi), forever. Don't use anymore fussball.html, bookmark f11.cgi (or
f12.cgi).
This is not what you want.
You want a HTTP 302.

HTTP 302 means: fussball.html is the right name for the resource, however,
for this current access, you should look at f11.cgi (or f12.cgi). If
you've to bookmark the page, please, bookmark fussball.html, not f11.cgi
(or f12.cgi).

So, an HTTP 302 redirection is exactly what you need.

The fact that buggy user agents tend to interpret HTTP 302 as if it were
HTTP 301 redirections is a real problem. If you want to support these
buggy user agents, you may on the server side, dump the contents of the
data produced by f11.cgi or f12.cgi when the fussball.html resource is
requested, without any redirection.

Please, read:
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3
http://www.w3.org/DesignIssues/UserAgent.html

--
If you've a question that doesn't belong to Usenet, contact me at

Posted by fiversen on November 4, 2007, 4:27 am
Please log in for more thread options
Thanks a lot,
I try the following .htaccess:
---
RewriteEngine On
RewriteRule fussball3.html ...../cgi-bin/f11.cgi [R=307]
---

The redirection is ok
- but the display an the saved favorites - have the f11.cgi - page.

The patch of the output - thats nothing for me.


> If I understand correctly, fussball.html is a page that sometimes
> redirects to f11.cgi, and sometimes f12.cgi, and your problem is that,
> people should bookmark fussball.html, but actually bookmark either f11.cgi
> or f12.cgi.
>
> This is the difference between HTTP 301 and HTTP 302 redirections.
>
> HTTP 301 for fussball.html would mean: Resource moved to f11.cgi (or
> f12.cgi), forever. Don't use anymore fussball.html, bookmark f11.cgi (or
> f12.cgi).
> This is not what you want.
> You want a HTTP 302.
>
> HTTP 302 means: fussball.html is the right name for the resource, however,
> for this current access, you should look at f11.cgi (or f12.cgi). If
> you've to bookmark the page, please, bookmark fussball.html, not f11.cgi
> (or f12.cgi).
>
> So, an HTTP 302 redirection is exactly what you need.
>
> The fact that buggy user agents tend to interpret HTTP 302 as if it were
> HTTP 301 redirections is a real problem. If you want to support these
> buggy user agents, you may on the server side, dump the contents of the
> data produced by f11.cgi or f12.cgi when the fussball.html resource is
> requested, without any redirection.
>
> Please,
read:http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.3http://www.w3.org/DesignIssues/UserAgent.html
>

--
Frank Iversen



Posted by Sherman Pendley on November 4, 2007, 5:29 pm
Please log in for more thread options

> Thanks a lot,
> I try the following .htaccess:

Good for you. So, what was your HTML question?

sherm--

--
WV News, Blogging, and Discussion: http://wv-www.com
Cocoa programming in Perl: http://camelbones.sourceforge.net

Posted by fiversen on November 5, 2007, 1:23 am
Please log in for more thread options
The question is still,

is it possible automaticly to create a user favorite with a different
adress.

>From my page
.. fussball.html
I redirect to
f11.cgi.
(with 'RewriteRule fussball3.html ...../cgi-bin/f11.cgi [R=307]' or
R=302])

The redirection page change from time to time,
so I want to create a favorite with the first page.

> Good for you. So, what was your HTML question?
>
> sherm--
>
> --
> WV News, Blogging, and Discussion:http://wv-www.com
> Cocoa programming in Perl:http://camelbones.sourceforge.net

--
Frank Iversen



Similar ThreadsPosted
Please choose your favorite mockup for our next web site! February 1, 2007, 7:42 pm
address bar icons August 5, 2004, 10:40 pm
Get callers IP address? March 9, 2005, 1:43 am
How To redirect IP Address April 11, 2005, 2:00 pm
text to address bar September 3, 2008, 10:16 am
Email address found in an IMG SRC tag. October 14, 2004, 9:53 am
Cloaking Email Address May 21, 2005, 3:37 pm
same address new page without using frames? September 3, 2005, 10:13 am
WHY DOES "20%" SHOW UP IN ADDRESS? BLANK SPACE? September 26, 2004, 10:50 pm
Deleting Browser Address Box History January 19, 2005, 11:34 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap