You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by anton <an...@inves.ru> on 2003/05/15 22:16:56 UTC
[users@httpd] How to configure apache to serve entire site through proxipass, but one directolry serve locally?
Hello everybody!
I have posted this message once already, but as there was no one answer i
decided to post it one more time.
I need to configure my http server this way:
all requests to www.ggg.ru serve throu proxipass - this looks like this:
<VirtualHost 222.222.222.233>
ServerAdmin webmaster@ggg.ru
ServerName www.ggg.ru
ProxyPass / http://192.168.1.1/
</VirtualHost>
But requests to particular directory, /zzz (and all subdirectories) on
the site www.ggg.ru i want to serve from this computers directory
/var/www/zzz.
How can i do so?
Thanks in advance, Anton Lizunov.
---------------------------------------------------------------------
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
RE: [users@httpd] How to configure apache to serve entire site through proxipass, but one directolry serve locally?
Posted by Jeff Cohen <su...@gej-it.com>.
That's about it
<VirtualHost 222.222.222.233>
ServerAdmin webmaster@ggg.ru
ServerName www.ggg.ru
ProxyPass / http://192.168.1.1/
ProxyPass /zzz !
</VirtualHost>
Jeff Cohen
Jeff@GEJ-IT.com
Tel. (416) 917-2324
www.GEJ-IT.com
GEJ-IT Networks!
> -----Original Message-----
> From: anton [mailto:anton@inves.ru]
> Sent: Thursday, May 15, 2003 4:17 PM
> To: users@httpd.apache.org
> Subject: [users@httpd] How to configure apache to serve entire site
through
> proxipass, but one directolry serve locally?
>
>
> Hello everybody!
> I have posted this message once already, but as there was no one answer i
> decided to post it one more time.
> I need to configure my http server this way:
> all requests to www.ggg.ru serve throu proxipass - this looks like this:
>
> <VirtualHost 222.222.222.233>
> ServerAdmin webmaster@ggg.ru
> ServerName www.ggg.ru
> ProxyPass / http://192.168.1.1/
> </VirtualHost>
>
> But requests to particular directory, /zzz (and all subdirectories) on
> the site www.ggg.ru i want to serve from this computers directory
> /var/www/zzz.
>
> How can i do so?
>
> Thanks in advance, Anton Lizunov.
>
>
>
>
>
> ---------------------------------------------------------------------
> 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
Re: [users@httpd] How to configure apache to serve entire site
through proxipass, but one directolry serve locally?
Posted by Sean O'Neill <se...@seanoneill.info>.
At 12:16 AM 5/16/2003 +0400, you wrote:
> Hello everybody!
> I have posted this message once already, but as there was no one answer i
>decided to post it one more time.
> I need to configure my http server this way:
> all requests to www.ggg.ru serve throu proxipass - this looks like this:
>
><VirtualHost 222.222.222.233>
>ServerAdmin webmaster@ggg.ru
>ServerName www.ggg.ru
>ProxyPass / http://192.168.1.1/
></VirtualHost>
It might be because you are missing a "ProxyPassReverse" directive. This
is a VirtualHost config I have setup for a somewhat similar type
config. Hopefully this will help you figure your issue out.
<VirtualHost 65.65.85.161:8000 192.168.2.254:8000>
ServerName svn.oneill.dhs.org
ErrorLog /usr/local/www/logs/svn_error_log
CustomLog /usr/local/www/logs/svn_access_log common
RewriteEngine On
RewriteLog /usr/local/www/logs/svn_rewrite_log
ProxyRequests Off
ProxyPass / http://compaq.nonroutable.com:8000/
# Force /repos to always end with a / otherwise Subversion won't work
# through proxy correctly.
RewriteRule ^/repos$ /repos/ [R=permanent,L]
RewriteRule ^/(repos/.*/?)$ http://compaq.nonroutable.com:8000/$1 [P]
ProxyPassReverse / http://compaq.nonroutable.com:8000/
ProxyPassReverse /repos/ http://compaq.nonroutable.com:8000/repos/
</VirtualHost>
--
Sean O'Neill
---------------------------------------------------------------------
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