indexsoft.com | web based applications

indexsoft site-up try, download and purchase indexsoft site-up faq and manual send a comments

How to install Site-UP for multiple web sites?

For example you wish to install indexsoft Site-UP to use with web sites www.site1.com www.site2.com

Step 1. For each of web sites create alias using 'Alias' Apache directive. For example:

Alias /siteup-manager/ /path/to/dir/where/siteup/is

Step 2. Install indexsoft Site-UP to the directory used in 'Alias' (/path/to/dir/where/siteup/is) and set access permissions to cgi files (chmod files). Now you can use indexsoft Site-UP for each web site using URLs: http://www.site1.com/siteup-manager/ and http://www.site2.com/siteup-manager/. But indexsoft Site-UP still uses same configuration file for web sites and you need to force it to use different configuration files for each of web sites.

Step 3. Add lines in the '.htaccess' file located in the directory /path/to/dir/where/siteup/is (which defined in 'Alias'):

RewriteEngine on
RewriteRule ^(.*) - [E=HTTP_SITEUPCFG:%{DOCUMENT_ROOT}site-up-config.pm]
RewriteRule ^(.*) - [E=HTTP_SITEUPDRT:%{DOCUMENT_ROOT}]
RewriteRule ^(.*) - [E=HTTP_SITEUPURL:http://%{HTTP_HOST}]
RewriteRule ^(.*) - [E=HTTP_SITEUPTPL:%{DOCUMENT_ROOT}siteup_templates]
RewriteRule ^(.*) - [E=HTTP_SITEUPDIR:/path/to/dir/where/siteup/is]

That directives creates environment variables and will force indexsoft Site-UP to use 'site-up-config.pm' configuration files located in the document root directory of each web site.

Note: That method is valid if web site files have same owner (UID). In other case the solution in not such trivial.

 


  indexsoft 2001-2014 www.indexsoft.com / designed by TM 
MySQL is a trademark of MySQL AB in the United States and other countries