Article ID: 4099, created on Mar 24, 2008, last review on May 10, 2014

  • Applies to:
  • Sphera


By default, when installig Chilisoft on a VDS, the VDSs subdomains will not be able to run asp files using Chilisoft.


1. Create a VDS called
2. Create a folder (in the VDS) /www/htdocs/example2/
3. Create a VirtualHost (VDS subdomain) with document-root in /www/htdocs/example2/
4. Add the Chili!Soft VA for VDS & test that asp works for  (You can do that by browsing to
5. Copy the test.asp file from /www/htdocs/ to the Virtual Host document-root (/www/htdocs/
6. Create a SymLink /usr/loca/casp/ pointing to ../apache/htdocs/example2 (Inside the VDS).
7. Inside the VirtualHost document root (~VDS/www/htdocs/example2) Create a Symlink pointing to /usr/local/casp/
8. AS ROOT: create  a Symlink /usr/loca/casp/ pointing on ~VDS/usr/loca/casp/
9. In ~VDS/etc/httpd/conf/httpd.conf Virtual Host definition :
<VirtualHost *>
 #DocumentRoot /var/www/html/example2
 DocumentRoot /usr/local/casp/
 RewriteCond %{REQUEST_URI} !^/*$
 RewriteRule ^(.*)\.as(p|a) /$0 [R]
 RewriteEngine on

The changes are :
i. Added same asp rewrite rules as in main host
ii. Changed Document root to /usr/local/casp/ (this is
symlinked to the original document root)
10. Restart the VDS's apache.


Please backup all files before modifications are done

5f478287f7e74fe9b07217d8131cd741 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF