dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: rewrite url on a subdomain name...

  1. #1
    Join Date
    Jan 2009
    Location
    Insanity
    Posts
    1,131

    rewrite url on a subdomain name...

    I have set up a subdomain URL in the web host CP in the format...

    http://forum.domain.org/

    which has the full URL of...

    http://domain.org/forum/members/index.php

    and when any link is clicked in the forum, the URL changes to the one above from the URL above that one..

    How do I tackle the URL issue and rewriteing stuff as I need to chop forum/members out so that I have...

    http://forum.domain.org/~/index.php

    OR if its possble...

    http://forum.domain.org/~index.php

    OR if its possble...

    http://forum.domain.org/index.php

    If anyone can help or point me to help, NOT THE APACHE SITE PLEASE, that effing things about as clear as mud.

    Question is will all URL's be rewritten on that path or will it break images and links in posts? and how do I cope with links to things like pdf files in the forum stored elsewhere on the server?

    I am the first to admit that I am virgin to this, all I knew was the .htaccess could allow you to password protect a folder, never had an idea of half the stff it goes on about. I would like to take advantage of this server with .htaccess and rewrites.

  2. #2
    Join Date
    Jan 2009
    Location
    Insanity
    Posts
    1,131
    Anyone else have a problem getting started with this... http://www.yourhtmlsource.com/sitema...rewriting.html cracked it in about 5 minutes on some of the main bits that were confusing, now I understand some of the anatomy of it...

    Now if Apache had explained it in those terms, It makes sense rather than looking like a glyph of some kind.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles