Hello.So, I have a webserver which is my reverse proxy, and the I have another webserver which is the actual server where the web content is located, let's call it server A (reverse proxy) and server B (the other).
I have this website on my dns (windows AD) : yadda.domainWhat I want is: if the user puts in the browser http://yadda.domain the user is redirected to the Server B, and thus sees the website If the user puts ftp://yadda.domain, the user is redirected to the same Server B, but through FTP protocol.
My question is, how can I acomplish this in apache?I know I need mod_proxy but I don't understand how I can make the redirect in the <VirtualHost ServerA>
??? ??? ??? </VirtualHost> I want something like (though I doubt it is possible): IF http THEN redirect to http://serverB-yadda.domain ELSE IF ftp THEN redirect to ftp://serverB-yadda.domain END IF; Thanks. Regards, Vilhena -- Ricardo Vilhena --------------------------------------------------------------------- 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