httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <>
Subject Re: [users@httpd] connecting to another port via port 80
Date Mon, 28 Apr 2008 15:46:56 GMT
On Mon, Apr 28, 2008 at 12:37 AM, Nishantha Pradeep <> wrote:
> Hi all
> I am running an apache server on my computer and I am also running chat
> server on the same computer. The chat server's http-polling is at port 5280
> . what I want to do is, I have  a web chat client and that client should
> access the http-polling at chat server through port 80 because I think is it
> not a better idea to provide permission to access port 5280 directly. I have
> add following to my httpd.conf file but after restarting apache and when I
> go to access the 5280, it says access denied. So please somebody just give
> me some help to solve this problem.
> name of my chat server-->nishantha-LSF
> the webclient is at -->/var/www/xmpp/code
> my document root /var/www
> ------------------------------------------------------------------------
> <VirtualHost *>
>    ServerName nishantha-LSF
>   DocumentRoot /var/www/
>   <Directory /var/www/xmpp/code>
>     Options  +Indexes +MultiViews
>   </Directory>
>   AddDefaultCharset UTF-8
>   RewriteEngine on
>   RewriteRule http-poll/ [P]
>  </VirtualHost>

Instead of the RewriteRule (which doesn't seem at all correct), use
ProxyPass /http-poll/
ProxyPassReverse /http-poll/


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message