OK I was trying to avoid pasting the virtual hsots file but here it goes: NameVirtualHost *:80
<VirtualHost *:80> ServerName employeedb DocumentRoot "F:/BACKUP/Backup/Web_apps_svn_working/employeedb/public" RewriteEngine On <Directory "F:/BACKUP/Backup/Web_apps_svn_working/employeedb/public" > Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> ProxyRequests Off ProxyPass / http://localhost:3000/ ProxyPassReverse / http://localhost:3000/ ProxyPreserveHost on </VirtualHost> <VirtualHost *:80> ServerName turindata DocumentRoot "F:/BACKUP/Backup/Subversion Server/httpd/deploy_apps/ Turindata/public" <Directory "F:/BACKUP/Backup/Subversion Server/httpd/deploy_apps/ Turindata/public" > Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> ProxyRequests Off ProxyPass / http://localhost:3001/ ProxyPassReverse / http://localhost:3001/ </VirtualHost> On Jan 31, 10:08 am, Hassan Schroeder <hassan.schroe...@gmail.com> wrote: > On Sat, Jan 31, 2009 at 8:01 AM, Me <chabg...@gmail.com> wrote: > > > The first virtual host. > > > My sever locally is ex. 192.168.1.1 > > > I go to 192.168.1.1/myapp1 > > > that app in my vitual host works > > > If I go to 192.168.1.1/myapp2 > > The above has exactly nothing to do with "virtual hosts", so I'm not > sure where your subject line comes from. If you're trying to "fix" the > above situation with virtual host directives, you're going to be badly > disappointed :-) > > You need appropriate proxy settings for your *one* host. > > -- > Hassan Schroeder ------------------------ hassan.schroe...@gmail.com --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---