Apache Mod Rewrite Rules

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
28 messages Options
12
Reply | Threaded
Open this post in threaded view
|

Re: Apache Mod Rewrite Rules

Jeroen van der Wal-2
John,

That's a really good excuse to do url-rewriting. In that case you might want
to take a look at nginx (http://wiki.nginx.org/Main) as a high performance
http server. Or Apache...

-Jeroen

On Mon, Dec 7, 2009 at 10:27 PM, John D. Hays <[hidden email]>wrote:

> Jeroen,
>
> I can tell you for long established e-Commerce sites old URLs are very
> important.  They are contained in correspondence, blogs, other websites,
> etc. and you don't want your customer or prospective customer to get lost on
> the way to the "new" page they are looking for.
>
>
> On Dec 7, 2009, at 1:03 PM, Jeroen van der Wal wrote:
>
>  Hi Len,
>>
>> It sill puzzles me why you think you need a url rewriting. Do you want a
>> loadbalancer, reverse proxy or image caching? Provide us your scenario,
>> you
>> don't want all the hassle that comes with url rewrite for just exposing
>> Ofbiz to the world.
>>
>> -Jeroen
>>
>
> John
>
Reply | Threaded
Open this post in threaded view
|

RE: Apache Mod Rewrite Rules

lshein
I am currently looking at using an IIS webserver to do my url rewrite and
redirects to the Ofbiz Tomcat app server.  Do I need any plugins or
configuration changes to the underlying Tomcat in Ofibz to accomplish this?



-----Original Message-----
From: Jeroen van der Wal [mailto:[hidden email]]
Sent: Monday, December 07, 2009 4:48 PM
To: user
Subject: Re: Apache Mod Rewrite Rules

John,

That's a really good excuse to do url-rewriting. In that case you might want
to take a look at nginx (http://wiki.nginx.org/Main) as a high performance
http server. Or Apache...

-Jeroen

On Mon, Dec 7, 2009 at 10:27 PM, John D. Hays
<[hidden email]>wrote:

> Jeroen,
>
> I can tell you for long established e-Commerce sites old URLs are very
> important.  They are contained in correspondence, blogs, other websites,
> etc. and you don't want your customer or prospective customer to get lost
on

> the way to the "new" page they are looking for.
>
>
> On Dec 7, 2009, at 1:03 PM, Jeroen van der Wal wrote:
>
>  Hi Len,
>>
>> It sill puzzles me why you think you need a url rewriting. Do you want a
>> loadbalancer, reverse proxy or image caching? Provide us your scenario,
>> you
>> don't want all the hassle that comes with url rewrite for just exposing
>> Ofbiz to the world.
>>
>> -Jeroen
>>
>
> John
>

Reply | Threaded
Open this post in threaded view
|

Re: Apache Mod Rewrite Rules

Chris Snow-3
Hi Len,

I think the following document should be all you need to follow:

http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html

Cheers,

Chris

Len Shein wrote:

> I am currently looking at using an IIS webserver to do my url rewrite and
> redirects to the Ofbiz Tomcat app server.  Do I need any plugins or
> configuration changes to the underlying Tomcat in Ofibz to accomplish this?
>
>
>
> -----Original Message-----
> From: Jeroen van der Wal [mailto:[hidden email]]
> Sent: Monday, December 07, 2009 4:48 PM
> To: user
> Subject: Re: Apache Mod Rewrite Rules
>
> John,
>
> That's a really good excuse to do url-rewriting. In that case you might want
> to take a look at nginx (http://wiki.nginx.org/Main) as a high performance
> http server. Or Apache...
>
> -Jeroen
>
> On Mon, Dec 7, 2009 at 10:27 PM, John D. Hays
> <[hidden email]>wrote:
>
>  
>> Jeroen,
>>
>> I can tell you for long established e-Commerce sites old URLs are very
>> important.  They are contained in correspondence, blogs, other websites,
>> etc. and you don't want your customer or prospective customer to get lost
>>    
> on
>  
>> the way to the "new" page they are looking for.
>>
>>
>> On Dec 7, 2009, at 1:03 PM, Jeroen van der Wal wrote:
>>
>>  Hi Len,
>>    
>>> It sill puzzles me why you think you need a url rewriting. Do you want a
>>> loadbalancer, reverse proxy or image caching? Provide us your scenario,
>>> you
>>> don't want all the hassle that comes with url rewrite for just exposing
>>> Ofbiz to the world.
>>>
>>> -Jeroen
>>>
>>>      
>> John
>>
>>    
>
>  


--
Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP

Tel: 01453 890660
Mob: 07944 880950
Www: www.snowconsulting.co.uk

Reply | Threaded
Open this post in threaded view
|

Re: Apache Mod Rewrite Rules

c.schinzer
In reply to this post by Jeroen van der Wal-2
Len,


I still do not see your reply to the "why rewrite" question? Is the
assumption made above correct? Can you let us know what the background is?
We're at risk to be off into assumptions while not looking at what the
requirement really is.

All the above is correct, however a solution for rewriting is then probably
putting an Apache (or other httpd) in front of OFBiz.

OFBiz as such is agnostic of the URL is serves (that is my understanding).
As such, it may be enough to manage multiple DNS entries for your domains to
your public IP and then make sure the default app (assumed, ecommerce) is
mounted to webroot.

Regards


Carsten


2009/12/7 Jeroen van der Wal <[hidden email]>

> John,
>
> That's a really good excuse to do url-rewriting. In that case you might
> want
> to take a look at nginx (http://wiki.nginx.org/Main) as a high performance
> http server. Or Apache...
>
> -Jeroen
>
> On Mon, Dec 7, 2009 at 10:27 PM, John D. Hays <[hidden email]
> >wrote:
>
> > Jeroen,
> >
> > I can tell you for long established e-Commerce sites old URLs are very
> > important.  They are contained in correspondence, blogs, other websites,
> > etc. and you don't want your customer or prospective customer to get lost
> on
> > the way to the "new" page they are looking for.
> >
> >
> > On Dec 7, 2009, at 1:03 PM, Jeroen van der Wal wrote:
> >
> >  Hi Len,
> >>
> >> It sill puzzles me why you think you need a url rewriting. Do you want a
> >> loadbalancer, reverse proxy or image caching? Provide us your scenario,
> >> you
> >> don't want all the hassle that comes with url rewrite for just exposing
> >> Ofbiz to the world.
> >>
> >> -Jeroen
> >>
> >
> > John
> >
>



--

Best

Carsten Schinzer

Waisenhausstr. 53a
80637 München
Germany
Reply | Threaded
Open this post in threaded view
|

RE: Apache Mod Rewrite Rules

lshein
Yes the assumption is correct, besides the fact I have converted an old site
to new which means I will need to maintain the old urls for a time being and
redirect (301 redirect) to the new I also need some redirecting for SEO
purposes and the bot engine urls coming in.

-----Original Message-----
From: Carsten Schinzer [mailto:[hidden email]]
Sent: Monday, December 07, 2009 6:10 PM
To: [hidden email]
Subject: Re: Apache Mod Rewrite Rules

Len,


I still do not see your reply to the "why rewrite" question? Is the
assumption made above correct? Can you let us know what the background is?
We're at risk to be off into assumptions while not looking at what the
requirement really is.

All the above is correct, however a solution for rewriting is then probably
putting an Apache (or other httpd) in front of OFBiz.

OFBiz as such is agnostic of the URL is serves (that is my understanding).
As such, it may be enough to manage multiple DNS entries for your domains to
your public IP and then make sure the default app (assumed, ecommerce) is
mounted to webroot.

Regards


Carsten


2009/12/7 Jeroen van der Wal <[hidden email]>

> John,
>
> That's a really good excuse to do url-rewriting. In that case you might
> want
> to take a look at nginx (http://wiki.nginx.org/Main) as a high performance
> http server. Or Apache...
>
> -Jeroen
>
> On Mon, Dec 7, 2009 at 10:27 PM, John D. Hays <[hidden email]
> >wrote:
>
> > Jeroen,
> >
> > I can tell you for long established e-Commerce sites old URLs are very
> > important.  They are contained in correspondence, blogs, other websites,
> > etc. and you don't want your customer or prospective customer to get
lost
> on
> > the way to the "new" page they are looking for.
> >
> >
> > On Dec 7, 2009, at 1:03 PM, Jeroen van der Wal wrote:
> >
> >  Hi Len,
> >>
> >> It sill puzzles me why you think you need a url rewriting. Do you want
a

> >> loadbalancer, reverse proxy or image caching? Provide us your scenario,
> >> you
> >> don't want all the hassle that comes with url rewrite for just exposing
> >> Ofbiz to the world.
> >>
> >> -Jeroen
> >>
> >
> > John
> >
>



--

Best

Carsten Schinzer

Waisenhausstr. 53a
80637 München
Germany

Reply | Threaded
Open this post in threaded view
|

Re: Apache Mod Rewrite Rules

c.schinzer
Hi Len,

I guess, then you are off on a 3-tier-setup track, i.e.

Tier 1 - Apache
+ this Tier requires the (loadbalanced?) public IP
+ this service's public IP needs to be pointed at from the DNS entries of
all your apps
+ includes your rewrite rules here
+ targets are into mountpoints of ofbiz app(s) on Tier2

Tier 2 - OFBiz
+ this Tier can run with a private IP
+ conventions on OFBiz mountpoints are relevant to your rewrite rules

Tier 3 - Database
+ configure this tier just as described in the OFBiz setup guides

Regards


Carsten

2009/12/8 Len Shein <[hidden email]>

> Yes the assumption is correct, besides the fact I have converted an old
> site
> to new which means I will need to maintain the old urls for a time being
> and
> redirect (301 redirect) to the new I also need some redirecting for SEO
> purposes and the bot engine urls coming in.
>
> -----Original Message-----
> From: Carsten Schinzer [mailto:[hidden email]]
> Sent: Monday, December 07, 2009 6:10 PM
> To: [hidden email]
> Subject: Re: Apache Mod Rewrite Rules
>
> Len,
>
>
> I still do not see your reply to the "why rewrite" question? Is the
> assumption made above correct? Can you let us know what the background is?
> We're at risk to be off into assumptions while not looking at what the
> requirement really is.
>
> All the above is correct, however a solution for rewriting is then probably
> putting an Apache (or other httpd) in front of OFBiz.
>
> OFBiz as such is agnostic of the URL is serves (that is my understanding).
> As such, it may be enough to manage multiple DNS entries for your domains
> to
> your public IP and then make sure the default app (assumed, ecommerce) is
> mounted to webroot.
>
> Regards
>
>
> Carsten
>
>
> 2009/12/7 Jeroen van der Wal <[hidden email]>
>
> > John,
> >
> > That's a really good excuse to do url-rewriting. In that case you might
> > want
> > to take a look at nginx (http://wiki.nginx.org/Main) as a high
> performance
> > http server. Or Apache...
> >
> > -Jeroen
> >
> > On Mon, Dec 7, 2009 at 10:27 PM, John D. Hays <[hidden email]
> > >wrote:
> >
> > > Jeroen,
> > >
> > > I can tell you for long established e-Commerce sites old URLs are very
> > > important.  They are contained in correspondence, blogs, other
> websites,
> > > etc. and you don't want your customer or prospective customer to get
> lost
> > on
> > > the way to the "new" page they are looking for.
> > >
> > >
> > > On Dec 7, 2009, at 1:03 PM, Jeroen van der Wal wrote:
> > >
> > >  Hi Len,
> > >>
> > >> It sill puzzles me why you think you need a url rewriting. Do you want
> a
> > >> loadbalancer, reverse proxy or image caching? Provide us your
> scenario,
> > >> you
> > >> don't want all the hassle that comes with url rewrite for just
> exposing
> > >> Ofbiz to the world.
> > >>
> > >> -Jeroen
> > >>
> > >
> > > John
> > >
> >
>
>
>
> --
>
> Best
>
> Carsten Schinzer
>
> Waisenhausstr. 53a
> 80637 München
> Germany
>
>


--

Best

Carsten Schinzer

Waisenhausstr. 53a
80637 München
Germany
Reply | Threaded
Open this post in threaded view
|

RE: Apache Mod Rewrite Rules

lshein
Yes that is the setup I am looking at except I am going to use IIs as my
webserver instead of Apache.

I am using the following link as my guideline
http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html

Do you know of any loopholes I should be aware of from your experience?

 

-----Original Message-----
From: Carsten Schinzer [mailto:[hidden email]]
Sent: Tuesday, December 08, 2009 9:02 AM
To: [hidden email]
Subject: Re: Apache Mod Rewrite Rules

Hi Len,

I guess, then you are off on a 3-tier-setup track, i.e.

Tier 1 - Apache
+ this Tier requires the (loadbalanced?) public IP
+ this service's public IP needs to be pointed at from the DNS entries of
all your apps
+ includes your rewrite rules here
+ targets are into mountpoints of ofbiz app(s) on Tier2

Tier 2 - OFBiz
+ this Tier can run with a private IP
+ conventions on OFBiz mountpoints are relevant to your rewrite rules

Tier 3 - Database
+ configure this tier just as described in the OFBiz setup guides

Regards


Carsten

2009/12/8 Len Shein <[hidden email]>

> Yes the assumption is correct, besides the fact I have converted an old
> site
> to new which means I will need to maintain the old urls for a time being
> and
> redirect (301 redirect) to the new I also need some redirecting for SEO
> purposes and the bot engine urls coming in.
>
> -----Original Message-----
> From: Carsten Schinzer [mailto:[hidden email]]
> Sent: Monday, December 07, 2009 6:10 PM
> To: [hidden email]
> Subject: Re: Apache Mod Rewrite Rules
>
> Len,
>
>
> I still do not see your reply to the "why rewrite" question? Is the
> assumption made above correct? Can you let us know what the background is?
> We're at risk to be off into assumptions while not looking at what the
> requirement really is.
>
> All the above is correct, however a solution for rewriting is then
probably

> putting an Apache (or other httpd) in front of OFBiz.
>
> OFBiz as such is agnostic of the URL is serves (that is my understanding).
> As such, it may be enough to manage multiple DNS entries for your domains
> to
> your public IP and then make sure the default app (assumed, ecommerce) is
> mounted to webroot.
>
> Regards
>
>
> Carsten
>
>
> 2009/12/7 Jeroen van der Wal <[hidden email]>
>
> > John,
> >
> > That's a really good excuse to do url-rewriting. In that case you might
> > want
> > to take a look at nginx (http://wiki.nginx.org/Main) as a high
> performance
> > http server. Or Apache...
> >
> > -Jeroen
> >
> > On Mon, Dec 7, 2009 at 10:27 PM, John D. Hays <[hidden email]
> > >wrote:
> >
> > > Jeroen,
> > >
> > > I can tell you for long established e-Commerce sites old URLs are very
> > > important.  They are contained in correspondence, blogs, other
> websites,
> > > etc. and you don't want your customer or prospective customer to get
> lost
> > on
> > > the way to the "new" page they are looking for.
> > >
> > >
> > > On Dec 7, 2009, at 1:03 PM, Jeroen van der Wal wrote:
> > >
> > >  Hi Len,
> > >>
> > >> It sill puzzles me why you think you need a url rewriting. Do you
want

> a
> > >> loadbalancer, reverse proxy or image caching? Provide us your
> scenario,
> > >> you
> > >> don't want all the hassle that comes with url rewrite for just
> exposing
> > >> Ofbiz to the world.
> > >>
> > >> -Jeroen
> > >>
> > >
> > > John
> > >
> >
>
>
>
> --
>
> Best
>
> Carsten Schinzer
>
> Waisenhausstr. 53a
> 80637 München
> Germany
>
>


--

Best

Carsten Schinzer

Waisenhausstr. 53a
80637 München
Germany

Reply | Threaded
Open this post in threaded view
|

Re: Apache Mod Rewrite Rules

c.schinzer
Hi Len,


I am not aware of any, but also we do generally use Apache and have migrated
all IIS, SunOne and others to it whereever we use Tomcat / JBoss / WebLogic
behind.

IIS is only an option for us where is is part of a .NET setup.

Regards


Carsten

[The above is way beyond the context of this list. I am working in an
operations company and we are doing all sorts of hosted environments.]

2009/12/8 Len Shein <[hidden email]>

> Yes that is the setup I am looking at except I am going to use IIs as my
> webserver instead of Apache.
>
> I am using the following link as my guideline
> http://tomcat.apache.org/connectors-doc/webserver_howto/iis.html
>
> Do you know of any loopholes I should be aware of from your experience?
>
>
>
> -----Original Message-----
> From: Carsten Schinzer [mailto:[hidden email]]
> Sent: Tuesday, December 08, 2009 9:02 AM
> To: [hidden email]
> Subject: Re: Apache Mod Rewrite Rules
>
> Hi Len,
>
> I guess, then you are off on a 3-tier-setup track, i.e.
>
> Tier 1 - Apache
> + this Tier requires the (loadbalanced?) public IP
> + this service's public IP needs to be pointed at from the DNS entries of
> all your apps
> + includes your rewrite rules here
> + targets are into mountpoints of ofbiz app(s) on Tier2
>
> Tier 2 - OFBiz
> + this Tier can run with a private IP
> + conventions on OFBiz mountpoints are relevant to your rewrite rules
>
> Tier 3 - Database
> + configure this tier just as described in the OFBiz setup guides
>
> Regards
>
>
> Carsten
>
> 2009/12/8 Len Shein <[hidden email]>
>
> > Yes the assumption is correct, besides the fact I have converted an old
> > site
> > to new which means I will need to maintain the old urls for a time being
> > and
> > redirect (301 redirect) to the new I also need some redirecting for SEO
> > purposes and the bot engine urls coming in.
> >
> > -----Original Message-----
> > From: Carsten Schinzer [mailto:[hidden email]]
> > Sent: Monday, December 07, 2009 6:10 PM
> > To: [hidden email]
> > Subject: Re: Apache Mod Rewrite Rules
> >
> > Len,
> >
> >
> > I still do not see your reply to the "why rewrite" question? Is the
> > assumption made above correct? Can you let us know what the background
> is?
> > We're at risk to be off into assumptions while not looking at what the
> > requirement really is.
> >
> > All the above is correct, however a solution for rewriting is then
> probably
> > putting an Apache (or other httpd) in front of OFBiz.
> >
> > OFBiz as such is agnostic of the URL is serves (that is my
> understanding).
> > As such, it may be enough to manage multiple DNS entries for your domains
> > to
> > your public IP and then make sure the default app (assumed, ecommerce) is
> > mounted to webroot.
> >
> > Regards
> >
> >
> > Carsten
> >
> >
> > 2009/12/7 Jeroen van der Wal <[hidden email]>
> >
> > > John,
> > >
> > > That's a really good excuse to do url-rewriting. In that case you might
> > > want
> > > to take a look at nginx (http://wiki.nginx.org/Main) as a high
> > performance
> > > http server. Or Apache...
> > >
> > > -Jeroen
> > >
> > > On Mon, Dec 7, 2009 at 10:27 PM, John D. Hays <
> [hidden email]
> > > >wrote:
> > >
> > > > Jeroen,
> > > >
> > > > I can tell you for long established e-Commerce sites old URLs are
> very
> > > > important.  They are contained in correspondence, blogs, other
> > websites,
> > > > etc. and you don't want your customer or prospective customer to get
> > lost
> > > on
> > > > the way to the "new" page they are looking for.
> > > >
> > > >
> > > > On Dec 7, 2009, at 1:03 PM, Jeroen van der Wal wrote:
> > > >
> > > >  Hi Len,
> > > >>
> > > >> It sill puzzles me why you think you need a url rewriting. Do you
> want
> > a
> > > >> loadbalancer, reverse proxy or image caching? Provide us your
> > scenario,
> > > >> you
> > > >> don't want all the hassle that comes with url rewrite for just
> > exposing
> > > >> Ofbiz to the world.
> > > >>
> > > >> -Jeroen
> > > >>
> > > >
> > > > John
> > > >
> > >
> >
> >
> >
> > --
> >
> > Best
> >
> > Carsten Schinzer
> >
> > Waisenhausstr. 53a
> > 80637 München
> > Germany
> >
> >
>
>
> --
>
> Best
>
> Carsten Schinzer
>
> Waisenhausstr. 53a
> 80637 München
> Germany
>
>


--

Best

Carsten Schinzer

Waisenhausstr. 53a
80637 München
Germany
12