mod_rehahahahaha gurus click here!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Jinx_Co
    Confirmed User
    • Jul 2003
    • 228

    #1

    mod_rehahahahaha gurus click here!

    I'm trying to configure apache where it will force the following:

    http://domain.com -> http://www.domain.com

    AND

    https://domain.com -> https://www.domain.com

    I can't seem to figure out how to set BOTH rules without having them overlap each other and one not work correctly. Does anyone know how to accomplish this?


    Akira Web - Affordable adult web hosting solutions

    ICQ: 36063200
  • AnnihilaT
    Confirmed User
    • Oct 2002
    • 249

    #2
    why bother with mod_rewr_te for that? just define aliases in your httpd conf like so

    ServerName 10.0.0.1
    ServerAlias domain.com
    ServerAlias www.domain.com

    Mmmm.......spam!

    Comment

    • Jinx_Co
      Confirmed User
      • Jul 2003
      • 228

      #3
      That removes the purpose of what I'm trying to do. What's I'm trying to do is force apache to do the following:

      http://domain.com -> http://www.domain.com

      AND

      https://domain.com -> https://www.domain.com

      I already have aliases setup, but that doesn't really have much to do with what I'm trying to accomplish here.
      Last edited by Jinx_Co; 05-10-2004, 10:28 PM.


      Akira Web - Affordable adult web hosting solutions

      ICQ: 36063200

      Comment

      • Jinx_Co
        Confirmed User
        • Jul 2003
        • 228

        #4
        Basically this is an experiment for search engines that I'm trying if that helps anyone to understand why I'm attempting this.


        Akira Web - Affordable adult web hosting solutions

        ICQ: 36063200

        Comment

        • Jinx_Co
          Confirmed User
          • Jul 2003
          • 228

          #5
          bump for the daytime people


          Akira Web - Affordable adult web hosting solutions

          ICQ: 36063200

          Comment

          Working...