How can I configure the
amount of IIS Cache?
|
By default InetInfo, the process responsible for WWW,
FTP and Gopher uses a 3MB of cache for all of the services.
This cache is used to store files in memory providing
faster access than from disk. To change the amount of
memory available for the cache perform the following:
- Start the registry editor (regedit.exe)
- Move to HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\
InetInfo\Parameters
- From the Edit menu select New - DWord value
- Enter a name of MemoryCacheSize and click Enter
- Double click the new value and set to the amount
of memory you wish to use for the cache in bytes,
e.g. 5000000 for 5MB and click OK
- Close the registry editor
- Stop and start all IIS services
If you wish to disable caching set the value to 0 however
this could have a serious effect on performance.
How can I configure
the Connection Limit?
|
This is configured using the Internet Service Manager
and can be between 1 and 32,767
- Start the Internet Service Manager ( Start - Programs
- Microsoft Internet Server)
- Double click on the computer whose connection
limit you wish to configure
- Select the Service tab
- Enter the number of connection you want in the
Maximum Connections field
- Click OK
- Stop and start the service whose limit you changed
- Close the Internet Service Manager
How can I configure
the FTP welcome message?
|
Using the IIS admin utility a welcome, end and connect
refused message can be displayed
- Start the Internet Service Manager ( Start - Programs
- Microsoft Internet Server)
- Select the FTP service on the machine you wish
to configure
- From the properties menu select Service Properties
- Click the Messages tab
- Enter text in the "Welcome Message", "Exit Message"
and "Maximum connections" fields.
- Click the Apply button then click OK
- Stop and restart the FTP service
- Close the Internet Service Manager
How can I disable
parent paths in IIS?
|
Parent paths allow you to use '..' when browsing
directories and MapPaths etc enabling files in the
parent directory to be used. This can give access
to files that people should not have access to and
so to disable perform the following:
- Start the Internet Services Manager (Start - Programs
- Administrative Tools - Internet Services Manager)
- Right click on the web site and select properties
- Select the 'Home Directory' tab
- Click the 'Configuration' button under the Application
Settings
- Select the 'App Options' tab
- Blank the 'Enable parent paths' box and click
Apply
- If there are any child nodes affected they will
be listed, select and click OK
- Click OK to all other dialog boxes
You don't need to restart the service for the change
to take effect.
Next >>
|