Quid Pro Quo allows you to define files that will be sent to the client under different circumstances, such as when a requested URL is not found, or when an error occurs. Quid Pro Quo includes built-in versions of these files, but they are very rudimentary. Quid Pro Quo allows you to send custom files instead.

The Configure Default Files Dialog

Default File

This is the name of the file that Quid Pro Quo will attempt to send to the client when a directory URL is specified. This is typically set to "default.html" or "index.html". For instance, a client requests:

http://www.yoursite.com

Quid Pro Quo will try to fulfill the request as:

http://www.yoursite.com/default.html

The default file should be a simple filename, NOT a path. When a directory URL is requested, such as:

http://www.yoursite.com/docs/html/

Quid Pro Quo will resolve the URL as:

http://www.yoursite.com/docs/html/default.html

If no file called "default.html" exists in the :docs:html: directory, an error is returned to the client.


Log File

This is the name of the file in which Quid Pro Quo will log transactions. This is usually a simple filename, but it can also be a path. Any path specified should be relative to the folder containing the Quid Pro Quo application.


Permission Denied

This entry specifies the file that will be sent to a client that requests a document in a realm with an incorrect password or user name, or to a client with an IP address or domain name specified as a "Deny" in the Allow/Deny configuration panel. If you specify a path, make it relative to the folder containing the Quid Pro Quo application (and prefix it with a colon). Click on the "Choose..." button to select a file and have Quid Pro Quo fill out the path for you.


URL Not Found

This is the file that is sent when a client requests a non-existent URL.


Error

The error file is the generic error message file. This file is sent to the client when an unspecified server error has occurred.


Refused Connection

This file is sent when "Refuse Connections" is selected in the Control menu. While your server is refusing connections (for instance, when you are updating your site and don't want to simply take the server down altogether), all client URL requests will return this file.


Send questions and comments to me, Chris Hawk

Welcome | Contents | Glossary