MDDHosting Forums: changing add-on domain routing - MDDHosting Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

changing add-on domain routing

#1 User is offline   stocktrader 

  • Member
  • PipPip
  • Group: Members
  • Posts: 44
  • Joined: 02-February 10

Posted 21 December 2011 - 10:26 PM

If I change the name of the folder that acts as the document root of an add-on domain, is this going to break any scripts (because the path changes, etc)?
ThinkTrade - My Trading Site
0

#2 User is offline   Big Dan 

  • Member
  • PipPip
  • Group: Members
  • Posts: 39
  • Joined: 27-November 10
  • Gender:Male
  • Location:New York
  • Interests:Music, technology, and all sorts of stuff.

Posted 21 December 2011 - 10:52 PM

It shouldn't unless you've set the actual path in a config file somewhere.
Good News: I just saved a bunch of money on my hosting by switching to MDD!
Big Dan on Gemini. Catch me @DanHutter
0

#3 User is offline   stocktrader 

  • Member
  • PipPip
  • Group: Members
  • Posts: 44
  • Joined: 02-February 10

Posted 21 December 2011 - 11:04 PM

You mean if I hardcoded an absolute path in a random script somewhere?
ThinkTrade - My Trading Site
0

#4 User is offline   stocktrader 

  • Member
  • PipPip
  • Group: Members
  • Posts: 44
  • Joined: 02-February 10

Posted 21 December 2011 - 11:47 PM

What about password-protected directories that I renamed? It appears that CPanel was smart enough to keep them protected, but I noticed that the protected directories have htaccess files in them that have the old path coded in them when the directories were initially protected. Is this code just incidental?
ThinkTrade - My Trading Site
0

#5 User is offline   Big Dan 

  • Member
  • PipPip
  • Group: Members
  • Posts: 39
  • Joined: 27-November 10
  • Gender:Male
  • Location:New York
  • Interests:Music, technology, and all sorts of stuff.

Posted 22 December 2011 - 04:49 PM

View Poststocktrader, on 21 December 2011 - 11:04 PM, said:

You mean if I hardcoded an absolute path in a random script somewhere?


Exactly. For instance on my vBulletin forum the attachments directory is hardcoded. It shouldn't be an issue on most scripts.

View Poststocktrader, on 21 December 2011 - 11:47 PM, said:

What about password-protected directories that I renamed? It appears that CPanel was smart enough to keep them protected, but I noticed that the protected directories have htaccess files in them that have the old path coded in them when the directories were initially protected. Is this code just incidental?


.htaccess is what actually does the password protecting. Adding password protection in cPanel simply generates an htaccess for that directory. The path shouldn't be hard coded. You can always just open the file in a text editor and check.
Good News: I just saved a bunch of money on my hosting by switching to MDD!
Big Dan on Gemini. Catch me @DanHutter
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users