Results 1 to 2 of 2

Thread: Regarding API

  1. #1
    Join Date
    Apr 2017
    Posts
    22
    Points
    474
    Level
    7

    Question Regarding API

    Hi,
    How can I check domains & sub-domains path (DOCUMENT_ROOTs) (not domains - sub domains list) using interWORX API's.


    Thanks,
    kiran upadhya

  2. #2
    Join Date
    Apr 2012
    Posts
    2,155
    Points
    23,673
    Level
    67
    Hi kiran

    Welcome to Iw forums

    I'm sorry, I maybe not fully understanding your post, but the document root is fixed, and would only change from the default if the server admin changes it

    It is not possible for resellers/siteworx accounts to change the document root

    I suppose a siteworx user could change the hosting folder to a folder created in the document root, but this does not change the document root, only the hosting folding they choose to use

    The document root is defined in the vhost file, so I guess you could write a script to check the document root on each vhost file, but I do not see why you would to, given that the only access to the vhost file would be from a server admin or Iw-cp

    I hope that helps a little

    Many thanks

    John

  3. The Following User Says Thank You to d2d4j For This Useful Post:


Tags for this Thread

Posting Permissions

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