1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Set up "site" for centralized includes

Discussion in 'Plesk for Windows - 8.x and Older' started by Andrew Wilkes, Apr 28, 2009.

  1. Andrew Wilkes

    Andrew Wilkes Guest

    0
     
    I am migrating existing ASP sites to a dedicated server which runs Plesk. We have a service site which contains admin pages for the database and server side include file that are accessed using the XMLHTTP object from other sites so that content is centralized and changing one include will change all the sites. At present the service site is accessible by its IP address and is on a different server to the sites which access its include files.
    The service site will go on the same server as all the other sites. When this happens I want the other sites to access the includes locally without having to go through external name servers. The admin pages need to be accessible from the internet as normal web pages but only to those who are told how to find it. Is a subdomain the way to go about this?
     
  2. shall

    shall Regular Pleskian

    26
    57%
    Joined:
    Apr 2, 2007
    Messages:
    226
    Likes Received:
    0
    They could be, but it wouldn't provide you the ability to use contents as ASP includes.

    I've actually written a couple utilities that manage most of this in order to map a folder from one site (with the correct permissions) to all the non-service sites (ie; not to webmail, plesk, and so forth, but they are mapped to example.com, example.org, and example.net if those are "sites" in IIS).

    PM me for the code.
     
  3. Andrew Wilkes

    Andrew Wilkes Guest

    0
     
    Do these utilities allow the includes to be included directly as if they were on the same site, without having to use the XMLHTTP object?
     
  4. shall

    shall Regular Pleskian

    26
    57%
    Joined:
    Apr 2, 2007
    Messages:
    226
    Likes Received:
    0
    Yep. You just use an "include virtual" to a shared folder that's mapped to all sites.
     
Loading...