You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by alee amin <ma...@gmail.com> on 2009/07/27 11:02:46 UTC
Need Suggestion
I have been assigned task to create a mechanism for multiple url sign up
pages against invite codes. the purpose is if user hit on
http://www.mydomain.com/invite/circket he should be redirected to
http://www.mydomain.com/signup?invite=cricket
http://www.mydomain.com/invite/soccer he should be redirected to
http://www.mydomain.com/signup?invite=soccer
etc.
now there could be number of invite codes i.e soccer, basketball, baseball
or watever. I was thinking to "redirect" things but then someone told me
that this can be handled in server level url mapping. I have no idea what he
was talking about. perhaps he was saying something about url rewriting. can
someone guide me how to do it.?
..alee
http://techboard.wordpress.com
Re: Need Suggestion
Posted by André Warnier <aw...@ice-sa.com>.
alee amin wrote:
> thanks andre. I will definitely do it on my own. I am just asking help -
> where to start from and what guidelines i should follow.
>
> Is there any other approach?
Hee.. just a minute now.
I may have been a bit fast.
Since I am subscribed to both this one and the Apache httpd list, I
think I got confused and answered this as if it was a question on the
httpd list. But this is the Tomcat list, right ?
If your issue is at the Tomcat level, then have a look at this, which
offers similar possibilities under Tomcat :
http://www.tuckey.org/urlrewrite/
On the other hand, if your Tomcat is already fronted by an Apache httpd,
then my original info stands.
In the Apache httpd Rewrite Guide, there are several examples similar to
your issue.
It may be useful to read that Guide first, even if you intend to do it
under Tomcat. There is a lot of information in these pages.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Need Suggestion
Posted by alee amin <ma...@gmail.com>.
thanks andre. I will definitely do it on my own. I am just asking help -
where to start from and what guidelines i should follow.
Is there any other approach?
..alee
http://techboard.wordpress.com
On Mon, Jul 27, 2009 at 5:09 PM, André Warnier <aw...@ice-sa.com> wrote:
> alee amin wrote:
>
>> I have been assigned task to create a mechanism for multiple url sign up
>> pages against invite codes. the purpose is if user hit on
>>
>> http://www.mydomain.com/invite/circket he should be redirected to
>> http://www.mydomain.com/signup?invite=cricket
>> http://www.mydomain.com/invite/soccer he should be redirected to
>> http://www.mydomain.com/signup?invite=soccer
>>
>> etc.
>>
>> now there could be number of invite codes i.e soccer, basketball, baseball
>> or watever. I was thinking to "redirect" things but then someone told me
>> that this can be handled in server level url mapping. I have no idea what
>> he
>> was talking about. perhaps he was saying something about url rewriting.
>> can
>> someone guide me how to do it.?
>> ..alee
>> http://techboard.wordpress.com
>>
>> He was indeed probably talking about this :
> http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html
> and this
> http://httpd.apache.org/docs/2.2/rewrite/rewrite_guide.html
>
> I someone going to do the job for you ? No.
> Will someone here help you if you try something after reading these docs,
> and it does not work as you expect ? Yes.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>
Re: Need Suggestion
Posted by André Warnier <aw...@ice-sa.com>.
alee amin wrote:
> I have been assigned task to create a mechanism for multiple url sign up
> pages against invite codes. the purpose is if user hit on
>
> http://www.mydomain.com/invite/circket he should be redirected to
> http://www.mydomain.com/signup?invite=cricket
> http://www.mydomain.com/invite/soccer he should be redirected to
> http://www.mydomain.com/signup?invite=soccer
>
> etc.
>
> now there could be number of invite codes i.e soccer, basketball, baseball
> or watever. I was thinking to "redirect" things but then someone told me
> that this can be handled in server level url mapping. I have no idea what he
> was talking about. perhaps he was saying something about url rewriting. can
> someone guide me how to do it.?
> ..alee
> http://techboard.wordpress.com
>
He was indeed probably talking about this :
http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html
and this
http://httpd.apache.org/docs/2.2/rewrite/rewrite_guide.html
I someone going to do the job for you ? No.
Will someone here help you if you try something after reading these
docs, and it does not work as you expect ? Yes.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org
Re: Need Suggestion
Posted by alee amin <ma...@gmail.com>.
lol .. i need the suggestion .. not looking for someone to do it on my
behalf :p
..alee
http://techboard.wordpress.com
On Mon, Jul 27, 2009 at 5:01 PM, Martin Gainty <mg...@hotmail.com> wrote:
>
> at last count at least 100 folks on the list can easily accomplish this for
> you ..myself included
> what has your employer budgeted for this task?
>
> Mit Fruendlichen Gruben
> Martin Gainty
> ______________________________________________
> Verzicht und Vertraulichkeitanmerkung
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene
> Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte
> Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht
> dient lediglich dem Austausch von Informationen und entfaltet keine
> rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von
> E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
>
>
>
>
>
>
> > Date: Mon, 27 Jul 2009 15:02:46 +0600
> > Subject: Need Suggestion
> > From: mailing.list.mail.id@gmail.com
> > To: users@tomcat.apache.org
> >
> > I have been assigned task to create a mechanism for multiple url sign up
> > pages against invite codes. the purpose is if user hit on
> >
> > http://www.mydomain.com/invite/circket he should be redirected to
> > http://www.mydomain.com/signup?invite=cricket
> > http://www.mydomain.com/invite/soccer he should be redirected to
> > http://www.mydomain.com/signup?invite=soccer
> >
> > etc.
> >
> > now there could be number of invite codes i.e soccer, basketball,
> baseball
> > or watever. I was thinking to "redirect" things but then someone told me
> > that this can be handled in server level url mapping. I have no idea what
> he
> > was talking about. perhaps he was saying something about url rewriting.
> can
> > someone guide me how to do it.?
> > ..alee
> > http://techboard.wordpress.com
>
> _________________________________________________________________
> Bing™ brings you maps, menus, and reviews organized in one place. Try it
> now.
>
> http://www.bing.com/search?q=restaurants&form=MLOGEN&publ=WLHMTAG&crea=TXT_MLOGEN_Local_Local_Restaurants_1x1
RE: Need Suggestion
Posted by Martin Gainty <mg...@hotmail.com>.
at last count at least 100 folks on the list can easily accomplish this for you ..myself included
what has your employer budgeted for this task?
Mit Fruendlichen Gruben
Martin Gainty
______________________________________________
Verzicht und Vertraulichkeitanmerkung
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
> Date: Mon, 27 Jul 2009 15:02:46 +0600
> Subject: Need Suggestion
> From: mailing.list.mail.id@gmail.com
> To: users@tomcat.apache.org
>
> I have been assigned task to create a mechanism for multiple url sign up
> pages against invite codes. the purpose is if user hit on
>
> http://www.mydomain.com/invite/circket he should be redirected to
> http://www.mydomain.com/signup?invite=cricket
> http://www.mydomain.com/invite/soccer he should be redirected to
> http://www.mydomain.com/signup?invite=soccer
>
> etc.
>
> now there could be number of invite codes i.e soccer, basketball, baseball
> or watever. I was thinking to "redirect" things but then someone told me
> that this can be handled in server level url mapping. I have no idea what he
> was talking about. perhaps he was saying something about url rewriting. can
> someone guide me how to do it.?
> ..alee
> http://techboard.wordpress.com
_________________________________________________________________
Bing™ brings you maps, menus, and reviews organized in one place. Try it now.
http://www.bing.com/search?q=restaurants&form=MLOGEN&publ=WLHMTAG&crea=TXT_MLOGEN_Local_Local_Restaurants_1x1