httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Winanjaya - CBN" <winan...@cbn.net.id>
Subject Re: [users@httpd] pointing to other server
Date Fri, 29 Oct 2004 09:40:06 GMT
Thanks a lot,
I tried below commands in my httpd.conf

ProxyPass /webmail http://pop.mydomain.com/cgi-bin/sqwebmail3/sqwebmail
ProxyPassReverse /webmail
http://pop.mydomain.com/cgi-bin/sqwebmail3/sqwebmail

and httpd restarted successfully

but when I try to open www.mydomain.com/webmail I got FORBIDDEN message, it
told me that "You do not have permission to access /webmail on this server "

please advise ..

Regards
Winan

----- Original Message -----
From: "Eimantas Vaiciunas" <eimantas.vaiciunas@sc.vu.lt>
To: <users@httpd.apache.org>
Sent: Friday, October 29, 2004 4:07 PM
Subject: Re: [users@httpd] pointing to other server


> On Friday 29 October 2004 11:54, Winanjaya - CBN wrote:
> > I am very new with this, could you please give me a very simple example
> > about this? thanks
> 1) With reverse proxy:
> You must compile your apache with mod_proxy support. Then add these
> directives:
>
> # We must secure this webserver
> <Proxy *>
>  Order deny,allow
>  Deny from all
>  Allow from your.domain.com
> </Proxy>
>
> ProxyPass /webmail
> http://pop.mydomain.com/cgi-bin/sqwebmail3/sqwebmail?index=1
> ProxyPassReverse /webmail
> http://pop.mydomain.com/cgi-bin/sqwebmail3/sqwebmail?index=1
>
> 2) Rewrite. Either compile support for mod_rewrite and then, add
directives:
>
> RewriteEngine On
>
> RewriteRule ^/webmail
> http://pop.mydomain.com/cgi-bin/sqwebmail3/sqwebmail?index=1
>
> ---------------------------------------------------------------------
> 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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message