I think I've done exactly this with one of my web pages... It does not use vhosts, but a (probably un-holy) mix of mod_rewrite and mod_proxy. This is on Apache 1.3.33 ### # Forward requests for /fs/ to localhost:9090 ### <IfModule mod_rewrite.c> <IfModule mod_proxy.c> ProxyPassReverse /fs http://${HTTP_HOST}:9090/fs RewriteEngine On RewriteCond %{HTTP_HOST} fs.host.ca [NC] RewriteRule ^/(.*) http://host.ca:9090/%{REQUEST_URI} [P] RewriteCond %{REQUEST_URI} /fs.* [NC] RewriteRule ^/(.*) http://%{HTTP_HOST}:9090/$1 [P] </IfModule> </IfModule> Of coarse, you could change localhost:9090 to any host the server has access to. I hope this helps, David On 1/25/06, Annie Dumont <annie.dumont@xxxxxxxxxxxxxxx> wrote: > Hi everybody, > > One of our scientist has develop a website with cgi-script, on host with > a private adress. > He needs to be readable throught the internet next month. > Is it possible, throught a virtualHost and proxying to execute the cgi > scripts hosted on his machine ? > > On our apache server we have written in the vhost.conf : > (assuming for the example that our apache serveur ip adress is > 123.12.12.12 our distant host private ip adress 10.10.10.10 and the name > it becomes to bee seen through the internet > distant.machine.univ-reunion.fr) : > > <VirtualHost 123.12.12.12:80> > Servername distant.machine.univ-reunion.fr > ProxyPass / http://10.10.10.10 > ProxypassReverse / http://10.10.10.10 > </VirtualHost> > > How do i tell apache that cgi scripts i want to execute are not those on > the apache server but those on the 10.10.10.10 ? Is it just possible ? > > regards, annie > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- 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