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: [email protected]
   "   from the digest: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to