Hi Andre, It worked but I need to check this with you:
I have bunches of lines in httpd.conf: several rules, ssl configuration, redirections, authentication providers…. I tried to put all these between <VirtualHost *:80> and </VirtualHost> to configure the first (and default) server. But apache refused to start after this because of: <IfModule ssl_module> SSLRandomSeed startup builtin SSLRandomSeed connect builtin </IfModule> Now what I did is: ServerRoot Listen LoadModule... User Group NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot "/usr/local/apache2/htdocs" </VirtualHost> now the rest of the config: <Directory /> ... ErrorLog logs/error_log <Location .... Then, these lines: <VirtualHost *:80> ServerName alias2 ProxyPass / http://localhost:8094/ ProxyPassReverse / http://localhost:8094/ </VirtualHost> So basically my requirement is met. But I need to check whether the rest of the configuration is applied to the default server. Thanks, --- On Tue, 28/4/09, André Warnier <[email protected]> wrote: > From: André Warnier <[email protected]> > Subject: Re: [us...@httpd] alias using Virtual host > To: [email protected] > Date: Tuesday, 28 April, 2009, 1:22 PM > Melanie Pfefer wrote: > > Hi Andre, > > > > Thanks for the clarification. > > Before proceeding with this, what is the other > alternative that you mentionned? > > > I suggest that before moving to the second alternative, you > try this one first, since you already have your two Apache > instances. > > Then if it works, we can try to bring this all into a > single Apache instance, and drop the second instance. > > > --------------------------------------------------------------------- > 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: [email protected] > " from the digest: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- 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: [email protected] " from the digest: [email protected] For additional commands, e-mail: [email protected]
