• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Set up "site" for centralized includes

A

Andrew Wilkes

Guest
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?
 
...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?

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.
 
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?
 
Back
Top