You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Kevin S. Dome" <ic...@stic.net> on 2002/09/06 22:20:48 UTC

[users@httpd] Redirect...

This is more of an HTML question but is it possible to redirect 
somewhere back to the url they came from. say they were at 
http://www.domain.com/example and clicked a linked that was supposed to 
take them to http://www.domain.com/example/example.html instead of 
returning them to http://www.domain.com (whish is what my current 
redirect does on error 404) is it possible to return them 
to http://www.domain.com/example



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Redirect...

Posted by Jeff Beard <je...@cyberxape.com>.
Have you tried the Redirect directive? :)

http://httpd.apache.org/docs/mod/mod_alias.html#redirect


Kevin S. Dome wrote:
> This is more of an HTML question but is it possible to redirect 
> somewhere back to the url they came from. say they were at 
> http://www.domain.com/example and clicked a linked that was supposed to 
> take them to http://www.domain.com/example/example.html instead of 
> returning them to http://www.domain.com (whish is what my current 
> redirect does on error 404) is it possible to return them to 
> http://www.domain.com/example
> 
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org

-- 
--
Jeff Beard | Systems Architecture, Programming, Management
Contact    | jeff at cyberxape dot com, 303.443.9339
Location   | In front of the computer, Boulder, CO, USA


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org