Apache help....

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • MrPopup
    Confirmed User
    • Aug 2002
    • 3783

    #1

    Apache help....

    Hmmm...Can anyone think of a method to have any users who surf to

    http://mydomain.com

    automatically forward to

    http://www.mydomain.com

    ?!?

    <table cellspacing="0" cellpadding="3" border="1" bgcolor="#008000"><tr><td><font size=3>Gone</font></td></tr></table>
  • some_idiot
    Confirmed User
    • May 2002
    • 1511

    #2
    Are the seperate boxes or 1 box?

    This AVS pays my mortgage!

    Comment

    • NetRodent
      Confirmed User
      • Jan 2002
      • 3985

      #3
      Here's one way to do it...


      &lt;VirtualHost 127.0.0.1&gt;
      ServerName yourdomain.com
      Redirect / http://www.yourdomain.com/
      &lt;/VirtualHost&gt;
      Last edited by NetRodent; 04-17-2003, 09:44 AM.
      "Every normal man must be tempted, at times, to spit on his hands, hoist the black flag, and begin slitting throats."
      --H.L. Mencken

      Comment

      • ProTech
        Registered User
        • Mar 2003
        • 73

        #4
        {VirtualHost 127.0.0.1} <-- replace this with your ip address for the site
        ServerName www.yourdomain.com
        ServerAlias yourdomain.com
        {/VirtualHost}

        Replace the { with <'s
        Last edited by ProTech; 04-17-2003, 10:13 AM.
        http://protechhosting.com

        ProTech The gfy name formally known as JFPDude.

        Comment

        Working...