But that's not what I want. I need Apache listening on port 80, routing it to the glassfish gem running on 81 (or any other port other than 80)
On Jun 7, 12:28 pm, Rick DeNatale <rick.denat...@gmail.comn> wrote: > On Sun, Jun 7, 2009 at 9:37 AM, JannaB<mistressja...@hotmail.com> wrote: > > So I am trying to mod_proxy the site to the url with port 81 that I > > know works. Here is how I have the VirtualHost in my httpd.conf file > > set up: > > > <VirtualHost *> > > ServerName gg > ... > > </VirtualHost> > > ... > > > whenever I go to hithttp://127.0.0.1/ggI get a 404 not found error. > > I am certain my document root is correct. Can you fellows here who > > have done this tell me what I am missing? Thanks, Janna B. > > The servername ofhttp://127.0.0.1/ggis not gg but 127.0.0.1 so I'm > pretty sure that the virtualhost directive isn't having any effect for > the request. > > I'd try adding an entry in /etc/hosts to map gg to 127.0.0.1 and then > point the browser at > > http://gg > > and see what happens > > -- > Rick DeNatale > > Blog:http://talklikeaduck.denhaven2.com/ > Twitter:http://twitter.com/RickDeNatale > WWR:http://www.workingwithrails.com/person/9021-rick-denatale > LinkedIn:http://www.linkedin.com/in/rickdenatale --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---