Couple of questions about rewrite and proxypass

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

 



Hi,
   i am trying to get http binding to work for jwchat and openfire and i found some examples and would like to make sure i understand couple of things:

<VirtualHost *>

  ServerName myserver.com
  DocumentRoot "C:/apache2/htdocs/"

  <Directory "C:/apache2/htdocs/">
  Options  +Indexes +MultiViews

  </Directory>

  AddDefaultCharset UTF-8

  RewriteEngine on

  RewriteRule http-bind/ http://myserver.com/http-bind/

</VirtualHost>
ProxyPass /http-bind/ http://127.0.0.1:8080/http-bind/ 

So what RewriteRule here is doing is when it detects "http-bind/" it will direct me to "http://myserver.com/http-bind/";? and when ProxyPass detects the "/http-bind/" it will try to direct me to "http://127.0.0.1:8080/http-bind/"; ?

couple of questions...
1. when I entered "http://myserver.com/http-bind/"; i ended up in the same URL though - is that what should happen?

2. is RewrieRule neccessary here? if i just enter http://myserver.com/http-bind/ directly wouldnt it bypass it? I am a bit confused here..

thanks...





      

---------------------------------------------------------------------
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