basic rewrite instructions

Discussion in 'Install/Configuration' started by djsodom, Jan 13, 2007.

  1. djsodom

    djsodom Active Member

    I've got my rails app running properly. I've got my domain pointing to my server. However, of course, I must type to access my app.

    I'm a little confused whether I write a rewrite rule or whether I can do as a context.

    Can someone provide a sample of how & where to set this up?


  2. mistwang

    mistwang LiteSpeed Staff

    Don't know what you want exactly. :)
  3. djsodom

    djsodom Active Member


    What do I need to change to have when I type in it goes to my app at port 8088? Right now, if I type in, nothing is found "unable to establish a connection". However, if I type in then my app shows up.

    I'm thinking I have to write a rewrite rule to direct to port 8088.

  4. mistwang

    mistwang LiteSpeed Staff

    You can just change the port number of the listener from 8088 to 80.
  5. djsodom

    djsodom Active Member

    Easy enough. For education sake, can you provide an example of what I'd need to do if I wanted to point the domain to port 81 or 8088 instead of 80?

    Also let me ask a different question. If I want to redirect all visits to to, can you provide a sample rewrite?



    Last edited: Jan 13, 2007

Share This Page