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 3 of 3
  1. #1
    New Coder
    Join Date
    Jan 2005
    Posts
    38
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I want people to go to www.site.com, but have it pull data from /public_html/mysite

    I want people to go to www.site.com, but have it pull data from /public_html/mysite and not from /public_html/

    Is this possible?

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,252
    Thanks
    0
    Thanked 0 Times in 0 Posts

    htaccess

    If your server is running apache, I'm pretty sure this can be accomplished using .htaccess--of which I unfortunately know precious little myself.
    This tutorial should get you on your way: Comprehensive guide to .htaccess (from JavaScriptKit).
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #3
    Senior Coder NancyJ's Avatar
    Join Date
    Feb 2005
    Location
    Bradford, UK
    Posts
    3,172
    Thanks
    19
    Thanked 65 Times in 64 Posts
    I believe the line you need is
    Redirect / http://www.mysite.com/mysite


  •  

    Posting Permissions

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