Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder mOrloff's Avatar
    Join Date
    Nov 2008
    Location
    The Great Pacific NW, USA
    Posts
    424
    Thanks
    8
    Thanked 6 Times in 6 Posts

    Can Apache serve a Ruby "branch" in the site nav for our internal PHP site??

    We have a site in our network (Windows peer-to-peer) for some common tools, utilities, etc.
    It is hosted on a WAMP stack on a a computer named "Server".
    To reach the current site, users simply type "server" into their browsers, and they have everything that they need.

    Now there's been a request for a task manager (Tracks), so we need to make an addition to our site.
    Tracks is a RoR project, so I'm a bit out of my element (even moreso than usual ).

    I've located many tutes and articles about installing a separate ruby stack, and even some about forwarding a specific domain to a Ruby project with Apache via VHosts ... but what about integrating it into the existing site.

    Let's say our internal site has nav items for; Home, Reports, Schedules, etc .
    We want to add a Tasks item right into that nav menu, and have it load the Tracks pages.
    Naturally, users should be able to nav back too.

    How do we do this?
    (Or is there a better way than our little convoluted attempt here ??)

    ~ Mo
    ...because it's dundant already.

  • #2
    Super Moderator Inigoesdr's Avatar
    Join Date
    Mar 2007
    Location
    Florida, USA
    Posts
    3,647
    Thanks
    2
    Thanked 406 Times in 398 Posts
    Quote Originally Posted by mOrloff View Post
    We want to add a Tasks item right into that nav menu, and have it load the Tracks pages.
    Naturally, users should be able to nav back too.
    This doesn't really depend on the server so much as the site design. If you are simply loading a menu that links content to an iframe(or something similar) you can just link your tracks text to the rails service URLort and be done.
    Quote Originally Posted by mOrloff View Post
    How do we do this?
    (Or is there a better way than our little convoluted attempt here ??)
    I would try a process similar to this first:
    http://stackoverflow.com/questions/2...ide-wampserver
    Ideally you would use a separate domain("tracks" instead of "server"), or a subdomain("tracks.server", etc.) to make it easy to use a vhost with mod_proxy.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •