![]() |
|
|
|
![]() |
![]() ![]() |
Advanced
Chili!Soft ASP Configuration ![]() Locations/Applications Locations where ASPs will run on your server are called "applications". An application is essentially the same as a directory, and includes any files and subdirectories within that directory. There are several applications set up when Chili!Soft ASP is installed on your Virtual Server. These include:
Managing Applications As indicated above, there are three ways to define an application in Chili!Soft. Because two of these methods take information from the httpd.conf file, these methods can be turned on or off within the casp.cnfg file. The use of DocumentRoot directories as
applications is discussed in the section "Chili!Soft
and Virtual Subhosts" below. Controlling whether aliases from your
httpd.conf file are included
as applications can be done in the [applications]
section of the casp.cnfg
file. The Chili!Soft configuration file is located in the ~/usr/local/casp/asp-apache-3000/ directory of your Virtual Server, and is called casp.cnfg. This contains a number of changeable settings that control how your ASP server behaves.
The last section of the casp.cnfg file is labeled [applications] and includes
a list of all the directories other than http aliases and document roots
where ASPs will run. The default casp.cnfg
has an [applications] section similar
to this: The second configuration command above in the [applications]
section is the value to tell Chili!Soft to use the aliases in the httpd.conf
as applications or not. By setting it to use_aliases=no,
the Aliases listed in your httpd.conf
file will not be areas where ASPs will run. config_name=.aspconf tells where additional
applications can be listed. The file indicated (.aspconf)
must be located in your primary DocumentRoot
directory. Adding and removing applications from the .aspconf
file does not require you to shut down and restart your ASP engine or the
Web server. This allows you to quickly and easily add or remove application
locations. The locations listed after the config_name setting are application definitions, following the format Most of the applications listed here are sample applications. An application name is treated by the Web server as the same as an Alias listed in the httpd.conf file. In other words, to access the/application_name="path/to/application" /caspdoc
application, you would use your primary domain name and follow the format:
http://YOUR-DOMAIN.NAME/caspdoc Global Application Settings Any ASP page within an application can pass information directly to another ASP page within the same application. You can not pass information directly between applications. When an application starts (this is done when an ASP page within the application is accessed), you can load up various settings for that application. Additionally, you can configure session information to set up information for each client who accesses your application. These settings are written in JScript or VBScript, and are stored in a file called Global.asa, located in the application root directory. Chili!Soft ASP and Virtual Subhosts By default, Chili!Soft allows all Virtual Subhosts to share the same server (one ASP server run per Virtual Server). Chili!Soft ASP can be configured to limit which Virtual Subhosts may use the server. This is done by editing the Chili!Soft ASP configuration file (~/usr/local/casp/asp-apache-3456/casp.cnfg). For example: This entry would make the Chili!Soft server available only to[virtual hosts] allow_all=no SUBHOST-DOMAIN.NAME SUBHOST-DOMAIN.NAME
but not to any other Virtual Subhosts. |
|
![]() |
[ SERVERS | ECOMMERCE | SUPPORT | SPECIALS | SEARCH | SITE MAP | ORDER] [ HOME | CONTACT US | ABOUT US | PRIVACY | LEGAL | REFUND POLICY ] © Copyright 1998 - 2001 Blue Reef Consulting, Inc. All Rights Reserved. Comments or questions about this web site? Write to webmaster@bluereef.net. Phone: (305) 274-8393 |