Re: Couple of questions about rewrite and proxypass

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




----- Original Message -----
> 
> On 19 Feb 2011, at 23:49, Al wrote:
> 
> >  RewriteEngine on
> > 
> >  RewriteRule http-bind/ http://myserver.com/http-bind/
> 
> WTF are you trying to do there?

Heh. niq is so shocked, he forgot to link his own manual:

http://www.apachetutor.org/admin/reverseproxies

> > </VirtualHost>
> > ProxyPass /http-bind/ http://127.0.0.1:8080/http-bind/
> 
> Now that makes sense (if your app is there), though perhaps you meant
> to put it
> inside  the virtualhost.  You may need something more, but whatever
> you need it's not mod_rewrite!

I don't think that can be repeated often enough ;)

http://wiki.apache.org/httpd/WhenNotToUseRewrite
And (the probably more complete):
http://httpd.apache.org/docs/trunk/rewrite/avoid.html

> --
> Nick Kew
> 
> Available for work, contract or permanent
> http://www.webthing.com/~nick/cv.html

i

-- 
Igor GaliÄ

Tel: +43 (0) 664 886 22 883
Mail: i.galic@xxxxxxxxxxxxxx
URL: http://brainsware.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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux