Remote Publication: A brief guide to operation: An autosite has two components: the dynamic/database part, which operates from the central AutoSites installation, and the static pages of the site, images, javascript etc which are written to the site location defined when the site is set up (normally on the same server. Remote publication writes the static site to a different server, using a small client program located in the cgi-bin on that server called asr.pl (AutoSites Remote). The remote site is mostly self contained - except that editing still takes place using the core AutoSites installation (via an admin gateway page within the remote site) - and dynamic/ interactive operations (e.g. guestbook, shopping cart etc) also continue to use the core scripting to deliver dynamic content - which ensures that no installation complexities should arise and admin retains control of the remote site. This also means that remote sites automatically benefit from subsequent upgrades / bugfixes etc. Creating a remote site: 1. Install asr.pl in the cgi-bin of the remote server (i.e. where you are creating the new site), and give it execute permissions if necessary (UNIX etc.) - You will find this file in your cgi-bin/auto/asr.pl 2. Run asr.pl at that location in a browser (e.g. http://www.remotesite.com/cgi-bin/asr.pl). If it is working correctly this will give you the paths required later in setup. Output should look something like this: NT Example Base cgi location d:\inetpub\fp04-202\cgi-bin\ My Full Path d:\inetpub\fp04-202\cgi-bin\asr.pl UNIX Example Base cgi location /var/www/site/cgi-bin/auto/ My Full Path /var/www/site/cgi-bin/auto/asr.pl If you get no output, check that the path to perl at the top is correct (UNIX) On some servers you may need to specify perl5. asr.pl requires the module Socket - normally present in any standard perl installation. Absense of this module will cause an internal server error (Apache) or a message that the module is missing (NT/Win2000) asr.pl must have the necessary permissions to write to the location where the site will be created. In some cases you will need to CHMOD the directory where the site will be created 777 or 766 (UNIX). This concludes operations required at the remote location 3. Now go to site configuration in admin.pl on your own server. Specify a unique site id and a name. The next settings refer to the location on the REMOTE SERVER Full path to new site location Supply this using the information derived from running asr.pl on the remote server E.g. NT Example d:\inetpub\fp04-202\ E.g. UNIX example: /var/www/site12/htdocs/ Full URL of new site The URL to access the location specified by full path above E.g. http://www.remotesite.com/ Site is on a remote server Check the box to indicate the site is for remote publication Autosites Remote Client URL Supply the url of asr.pl on the remote server E.g. http://www.remotesite.com/cgi-bin/asr.pl Supply the password for new site owner and click submit