Toolserver:Web hosting

The Toolserver provides web hosting to users. Your files should be placed in, and they will be accessible from the Internet at.

Note: For tools, we recommend using multi-maintainer projects. This allows one tool to have multiple maintainers and a stable URL, rather than being tied to a single user. However, you can also put tools under your own account if you like.

CGI
For CGI scripts, there are two options: plain CGI and FastCGI. If possible, you should use FastCGI, since it's faster, and reduces the load on the web server. However, if you have already-written CGI scripts, you can use them unmodified if you don't have the time to convert them to FastCGI.

To use FastCGI scripts, place them in, with the extension  , and make sure they're executable. Do not place them in, since they will be executed as plain CGI scripts, even if they have the   extension.

To use plain CGI scripts, place them in  and give them the extension , or place them in  , in which case they can have any (or no) extension. Wherever you place them, both CGI and FastCGI scripts need to be executable.

PHP scripts (which must have the extension ) can be used anywhere in your   but should not be placed in.

For information about CGI and Perl, see the Perl page. For information about (Fast)CGI and Python, see the Python WSGI page

Logs

 * Access and error logs are located in  on the web servers.
 * The PHP log is located at  on the web servers.

Webalizer statistics for toolserver.org are here (updated every 6 hours). Contact Duesentrieb if this is broken.

At present, there are separate access and error logs for each web server, and requests are distributed randomly to each server. To aid in debugging, you can use a URL like  to force the request to a particular server, then look at that server's logs.

In the future, we hope to have unified logs for all web servers.

SSL
The Toolserver (including user web space) is also accessible over SSL at https://toolserver.org. This is identical to non-SSL access, except:


 * The X-TS-SSL: YES header will be sent to allow tools to detect if SSL is in use
 * If you send a redirect with Location: http://toolserver.org/path from an SSL page, it will be rewritten to https://toolserver.org/path. There is no way to disable this.

Frequently asked questions

 * Where can I find documentation about my programming language?
 * For generic questions, try Google or an IRC channel. Some specific issues have been documented on this wiki at the programming language's name, e.g., Perl.


 * Is it possible to use -files?
 * Yes.


 * How does URL rewriting and authentication work?
 * See ZWS.


 * Is there a license requirement for my tools?
 * See Default license.

Category:Documentation