Login  Register

Re: Users - Configuration of Url

Posted by Andrew Sykes on Apr 28, 2006; 11:00am
URL: http://ofbiz.116.s1.nabble.com/Users-Configuration-of-Url-tp138751p138755.html

David,

Surely that's still going to leave some name in the URL.

The desired effect was mydomain.com/main

If you rename the control servlet aren't you always going to have
something of the form...
mydomain.com/<some_name>/main


On Fri, 2006-04-28 at 10:42 +0100, David E Jones wrote:

> That would be one way... But you can also change the mount point of the ControlServlet in the web.xml file and all dynamically generated URLs (ie using the ofbizUrl tag) will pick it up automatically. Quite a few OFBiz-based ecommerce sites do this.
>
> -David
>
>
> Jacques Le Roux wrote:
> > The best way to do this is to put Apache in front using mod_jk. Search
> > in Wiki please.
> >  
> > Jacques
> >
> >     ----- Original Message -----
> >     *From:* G Venkata Phanindra <mailto:[hidden email]>
> >     *To:* developers Forums <mailto:[hidden email]> ; ofbiz
> >     <mailto:[hidden email]>
> >     *Sent:* Friday, April 28, 2006 10:40 AM
> >     *Subject:* [OFBiz] Users - Configuration of Url
> >
> >     Hi
> >            I want to create a Webstore (Website) and i want the url
> >     patterns to be as Follows
> >                  1 www.xyz.com <http://www.xyz.com>  but i get by
> >     default with ofbiz as www.xyz.com/control/main
> >     <http://www.xyz.com/control/main> i want to get rid of this.
> >                 2 I want to customize few sections of urls Like
> >                      for information link i want them to be
> >                       www.xyz.com/info/abc <http://www.xyz.com/info/abc>
> >                      i am getting by default in ofbiz as
> >                      www.xyz.com/control/info/abc........
> >              
> >     Thanks and Regards
> >     G Venkata Phanindra.  
> >                
> >
> >
> >     With Regards,
> >
> >     G Venkata Phanindra.
> >     Mobile :9849852989.
> >
> >     ------------------------------------------------------------------------
> >     Jiyo cricket on Yahoo! India cricket
> >     <http://us.rd.yahoo.com/mail/in/mailcricket/*http://in.sports.yahoo.com/cricket/>
> >     Yahoo! Messenger Mobile
> >     <http://us.rd.yahoo.com/mail/in/mailmobilemessenger/*http://in.mobile.yahoo.com/new/messenger/>
> >     Stay in touch with your buddies all the time.
> >
> >     ------------------------------------------------------------------------
> >
> >
> >     _______________________________________________
> >     Users mailing list
> >     [hidden email]
> >     http://lists.ofbiz.org/mailman/listinfo/users
> >
> >
> > ------------------------------------------------------------------------
> >
> >  
> > _______________________________________________
> > Users mailing list
> > [hidden email]
> > http://lists.ofbiz.org/mailman/listinfo/users
>  
> _______________________________________________
> Users mailing list
> [hidden email]
> http://lists.ofbiz.org/mailman/listinfo/users
--
Kind Regards
Andrew Sykes <[hidden email]>
Sykes Development Ltd
http://www.sykesdevelopment.com

 
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users