.com in virtual folders

Discussion in 'Site & Server Administration' started by ahelpinghand, Apr 6, 2008.

  1. #1
    In my site, I have links to tutorials by site which look like this: http://www.mysite.com/site/www.othersite.com/ so when users click such a link, they get all the listed tutorials by www.othersite.com.

    There is no real directory on my site called /www.othersite.com/ it's a virtual directory created and translated by php scripts and every thing is working fine so far but I was wondering: Could this cause me problems in the future (e.i. if I change the host, changed to IIS, new version of php....etc) Should I replace the dots with underscores or leave things like they are? What do you suggest?
     
    If someone posts a solution, use the "Best Answer" link in their post to pick it as the best answer.
    ahelpinghand, Apr 6, 2008 IP
  2. SSANZ

    SSANZ Peon

    Messages:
    861
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i suggest running any php script from domain root, running it from subfolders just causes issues.
     
    SSANZ, Apr 6, 2008 Set Best Answer IP