The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

httpd.conf redirects

Discussion in 'General Discussion' started by saver0, Jan 2, 2005.

  1. saver0

    saver0 Member

    Joined:
    Jul 18, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
  2. dezignguy

    dezignguy Well-Known Member

    Joined:
    Sep 26, 2004
    Messages:
    534
    Likes Received:
    0
    Trophy Points:
    16
    you can use a mod_rewrite rule... which should work in an htaccess file if it has been enabled... or put the rewrite rule in the httpd.conf itself, in the virtual host section of the first site.

    Or you can use a meta-refresh tag in the page itself to reload the page and go to the second site.
     
  3. saver0

    saver0 Member

    Joined:
    Jul 18, 2003
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    Can you please show me an example mod_rewrite rule?

    That’s where I'm having trouble.

    Thanks
     
  4. dezignguy

    dezignguy Well-Known Member

    Joined:
    Sep 26, 2004
    Messages:
    534
    Likes Received:
    0
    Trophy Points:
    16
    google.com is the place to start for all your questions...
     
Loading...

Share This Page