Apache Load balancing
Thanks for your reply
The main purpose is load balancing.
Before any thing I want to know about differences between mod_proxy
and load balancing with UltraMonkey.
Also I will be happy for giving more solution :)
Thanks for more guidance
--
N.Chavoshi
------------------------------------------------------------ ---------
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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Re: Apache Load balancing
From: nima chavooshi <nima0102 [at] gmail.com>
> Before any thing I want to know about differences between mod_proxy
> and load balancing with UltraMonkey.
http://httpd.apache.org/docs/2.0/mod/mod_proxy.html
http://www.ultramonkey.org/
JD
------------------------------------------------------------ ---------
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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Mod rewrite
Hello experts,
Need help to mask url. I understand it can be done using RewriteRule in httpd.conf file.
Can I display http://server1.ncs.com/inventoryappl as
http://s1.ncs.com/inventoryappl
rgds
pkm
------------------------------------------------------------ ---------
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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Re: Mod rewrite
On 9/01/2010 8:07 p.m., pkm2112 wrote:
> Hello experts,
> Need help to mask url. I understand it can be done using RewriteRule in httpd.conf file.
>
> Can I display http://server1.ncs.com/inventoryappl as
> http://s1.ncs.com/inventoryappl
If this is on the same server, just add a ServerAlias entry for "s1" to
your "server1" host definition.
Cheers,
Nicholas Sherlock
------------------------------------------------------------ ---------
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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Re: Re: Mod rewrite
Ok let me explain
From http://clc.ncs.com/inventoryappl, I'm redirected to
http://server1.ncs.com/inventoryappl.
Instead of displaying http://server1.ncs.com/inventoryappl,
want to display http://s1.ncs.com/inventoryappl
Can it be done with RewriteRule. I'm new to apache server. Please help
rgds
PKM
--- Nicholas Sherlock <n.sherlock [at] gmail.com> wrote:
> On 9/01/2010 8:07 p.m., pkm2112 wrote:
> > Hello experts,
> > Need help to mask url. I understand it can be done using
> RewriteRule in httpd.conf file.
> >
> > Can I display http://server1.ncs.com/inventoryappl as
> > http://s1.ncs.com/inventoryappl
>
> If this is on the same server, just add a ServerAlias entry for "s1"
> to
> your "server1" host definition.
>
> Cheers,
> Nicholas Sherlock
>
>
> ------------------------------------------------------------ ---------
> 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 [at] httpd.apache.org
> " from the digest: users-digest-unsubscribe [at] httpd.apache.org
> For additional commands, e-mail: users-help [at] httpd.apache.org
>
>
------------------------------------------------------------ ---------
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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Re: Re: Mod rewrite
--0016e648d7b640558b047cc9dd50
Content-Type: text/plain; charset=UTF-8
On Sat, Jan 9, 2010 at 9:48 PM, pkm2112 <pkm2112 [at] singnet.com.sg> wrote:
> Ok let me explain
> From http://clc.ncs.com/inventoryappl, I'm redirected to
> http://server1.ncs.com/inventoryappl.
>
> Instead of displaying http://server1.ncs.com/inventoryappl,
> want to display http://s1.ncs.com/inventoryappl
>
> Can it be done with RewriteRule. I'm new to apache server. Please help
>
> rgds
> PKM
>
> --- Nicholas Sherlock <n.sherlock [at] gmail.com> wrote:
>
> > On 9/01/2010 8:07 p.m., pkm2112 wrote:
> > > Hello experts,
> > > Need help to mask url. I understand it can be done using
> > RewriteRule in httpd.conf file.
> > >
> > > Can I display http://server1.ncs.com/inventoryappl as
> > > http://s1.ncs.com/inventoryappl
> >
> > If this is on the same server, just add a ServerAlias entry for "s1"
> > to
> > your "server1" host definition.
> >
> > Cheers,
> > Nicholas Sherlock
>
Needs more explanation still, when you said you "want to display" do you
mean you want the browser to render the page at a different URL as the one
in the URL bar, or you want the URL bar to actually change and redirect to
the second URL?
--0016e648d7b640558b047cc9dd50
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div class=3D"gmail_quote">On Sat, Jan 9, 2010 at 9:48 PM, pkm2112 <span di=
r=3D"ltr"><<a href=3D"mailto:pkm2112 [at] singnet.com.sg">pkm2112 [at] singnet.com=
..sg</a>></span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Ok let me explain<br>
From <a href=3D"http://clc.ncs.com/inventoryappl" target=3D"_blank">http://=
clc.ncs.com/inventoryappl</a>, I'm redirected to<br>
<a href=3D"http://server1.ncs.com/inventoryappl" target=3D"_blank">http://s=
erver1.ncs.com/inventoryappl</a>.<br>
<br>
Instead of displaying =C2=A0<a href=3D"http://server1.ncs.com/inventoryappl=
" target=3D"_blank">http://server1.ncs.com/inventoryappl</a>,<br>
want to display <a href=3D"http://s1.ncs.com/inventoryappl" target=3D"_blan=
k">http://s1.ncs.com/inventoryappl</a><br>
<br>
Can it be done with RewriteRule. I'm new to apache server. Please help<=
br>
<br>
rgds<br>
PKM<br>
<br>
--- Nicholas Sherlock <<a href=3D"mailto:n.sherlock [at] gmail.com">n.sherloc=
k [at] gmail.com</a>> wrote:<br>
<br>
> On 9/01/2010 8:07 p.m., pkm2112 wrote:<br>
> > Hello experts,<br>
> > Need help to mask url. I understand it can be done using<br>
> RewriteRule in httpd.conf file.<br>
> ><br>
> > Can I display <a href=3D"http://server1.ncs.com/inventoryappl" ta=
rget=3D"_blank">http://server1.ncs.com/inventoryappl</a> as<br>
> > <a href=3D"http://s1.ncs.com/inventoryappl" target=3D"_blank">htt=
p://s1.ncs.com/inventoryappl</a><br>
><br>
> If this is on the same server, just add a ServerAlias entry for "=
s1"<br>
> to<br>
> your "server1" host definition.<br>
><br>
> Cheers,<br>
> Nicholas Sherlock<br></blockquote><div>=C2=A0</div></div><div>Needs mo=
re explanation still, when you said you "want to display" do you =
mean you want the browser to render the page at a different URL as the one =
in the URL bar, or you want the URL bar to actually change and redirect to =
the second URL?</div>
--0016e648d7b640558b047cc9dd50--
:Mod rewrite
Hello experts, need help
From http://clc.ncs.com/inventoryappl, I'm redirected to
http://server1.ncs.com/inventoryappl.
I want to hide http://server1.ncs.com/inventoryappl.
Instead of display a dummy url :
http://s1.ncs.com/inventoryappl
Can it be done with RewriteRule. I'm new to Apache, kindly specify configuration.
rgds
pkm
------------------------------------------------------------ ---------
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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Re: :Mod rewrite
> Can it be done with RewriteRule. I'm new to Apache, kindly specify
> configuration.
No, and it would be extremely big security hole to spoof a domain name.
However you might just create a DNS CNAME record for the domain name and
use it.
--
------------------------------------------------------------ ---------
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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Re: :Mod rewrite
On Jan 11, 2010, at 07:52 , pkm2112 wrote:
> Hello experts, need help
>
> From http://clc.ncs.com/inventoryappl, I'm redirected to
> http://server1.ncs.com/inventoryappl.
>
> I want to hide http://server1.ncs.com/inventoryappl.
>
> Instead of display a dummy url :
> http://s1.ncs.com/inventoryappl
>
>
> Can it be done with RewriteRule. I'm new to Apache, kindly specify
> configuration.
Questions like this tend to be hiding several levels of assumptions
and/or complexity that's not revealed by the question itself,
however ...
I *think* what you're asking is for the ProxyPass directive, not
mod_rewrite at all.
ProxyPass /inventoryappl http://server1.ncs.com/inventoryappl
ProxyPassReverse /inventoryappl http://server1.ncs.com/inventoryappl
This will "hide" the back-end URL, while serving content from it.
mod_rewrite doesn't need to be involved in this process at all.
As for the other response that mentioned a big security hole and
spoofing DNS, I'm not at all sure what he was talking about, but you
don't need to spoof DNS, and there's no security implication whatever
in using this technique.
--
Rich Bowen
http://modrewrite.org/
------------------------------------------------------------ ---------
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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
Re: :Mod rewrite
>> Instead of display a dummy url :
>> http://s1.ncs.com/inventoryappl
> spoofing DNS, I'm not at all sure what he was talking about
From my understanding the question was if one can hide real url and
display a fake one at users client (i.e. browser).
------------------------------------------------------------ ---------
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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
RE: :Mod rewrite
> From: Marcin 'Rambo' Roguski [mailto:rambo [at] id.uw.edu.pl]
>
> >> Instead of display a dummy url :
> >> http://s1.ncs.com/inventoryappl
>
> > spoofing DNS, I'm not at all sure what he was talking about
>
> From my understanding the question was if one can hide real url and
> display a fake one at users client (i.e. browser).
Marcin, I'm also curious about your statement about security hole when spoo=
fing a domain name via mod-rewrite. Isn't mod-rewrite *all* about spoofing =
URL's (which can include domain name part)? OK, it is used to remap URL tre=
es for moving / restructuring a website (which is not spoofing) but it is a=
lso used to allow for more user-friendly URL's that are then mapped to vari=
ous servers, web apps etc, which *is* a kind of spoofing. Similarly, manipu=
late domain name given by client to infer real URL to use in backend (also =
kind of spoofing).
Oliver
------------------------------------------------------------ ---------
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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
RE: :Mod rewrite
> Marcin, I'm also curious about your statement about security hole when
> spoofing a domain name via mod-rewrite. Isn't mod-rewrite *all* about
> spoofing URL's (which can include domain name part)?
As you mentioned, remapping is not the same as spoofing. Imagine someone's
ability to send you back URI www.yourbankname.com as the current domain
when you're actually at nastysite.thief.com (obviously, that's simply
impossible, but if you look at the senders question, it's kinda that what
he's trying to achieve - of course, in this case, with innocent subdomain
spoofing)
------------------------------------------------------------ ---------
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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
RE: :Mod rewrite
> From: Marcin 'Rambo' Roguski [mailto:rambo [at] id.uw.edu.pl]
>
> > Marcin, I'm also curious about your statement about security hole when
> > spoofing a domain name via mod-rewrite. Isn't mod-rewrite *all* about
> > spoofing URL's (which can include domain name part)?
>
> As you mentioned, remapping is not the same as spoofing. Imagine someone'=
s
> ability to send you back URI www.yourbankname.com as the current domain
> when you're actually at nastysite.thief.com (obviously, that's simply
> impossible, but if you look at the senders question, it's kinda that
> what he's trying to achieve - of course, in this case, with innocent
> subdomain spoofing)
Spoofing is when you are intentionally lying to the user about which domain=
server they are accessing: they think they are at a server in foo.com, but=
they are in fact at xx.xx.xx.xx computer that is phishing for the user's d=
ata. Subdomains are handled by the DNS server for the domain. Therefore to =
spoof a subdomain you first have to spoof the domain to change which DNS se=
rver gets used. But the OP was not spoofing a domain, just changing the sub=
domain displayed, something done zillions of times by mod rewrite users for=
maintenance, testing etc.
Also, mod_rewrite provides the P (reverse proxy) and R (redirect) rule qual=
ifiers for a reason: for proxying and redirecting. Redirecting can be used =
to redirect to an entirely different site. If my company has been purchased=
and I want to redirect *all* requests for www.foo.com (www.foo.com/whateve=
r...) to mothership.com then I could use mod-rewrite to redirect to www.mot=
hership.com. This would not be spoofing, but a legitimate redirection. OTOH=
if I proxied all requests to www.foo.com to www.mothership.com (the user w=
ouldn't know since using ProxyPass etc), I would still not be spoofing, jus=
t keeping Foo's identity intact so my clients are put off by a (friendly) t=
akeover.
Oliver
------------------------------------------------------------ ---------
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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org
RE: :Mod rewrite
Oops, sorry for unnecessary confusion then
--
------------------------------------------------------------ ---------
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 [at] httpd.apache.org
" from the digest: users-digest-unsubscribe [at] httpd.apache.org
For additional commands, e-mail: users-help [at] httpd.apache.org