|
CONFIGURATIONPaths / URLsBecause specifying every path and URL correctly is always important to getting a web-based application functioning correctly, this is one part of the configuration process that you should take extra care with. As such, the variables controlling the path and URL information are spelled out in explicit detail here. Take the time to ensure you have understood each of these variables, at least for as long as it takes to supply the correct configuration value! The paths and URLs specified on the Paths / URLs control panel are referred to both in the Review Foundry code AND in the templates. Some of these are absolute, or fully specified, and others are relative to one of the absolute paths or URLs. All paths, absolute or relative, should begin with a forward slash /, as should relative URLs. Absolute URLs should begin with http:// Here are the path and URL variables, their meanings, and example values:
In order to better appreciate the meaning of the Path and URL variables discussed above, here are some example paths and urls obtained by concatenating two or more of the variable (the concatentation operator is _ in these examples):
URL to the Review Foundry manual index page
= site_document_root_url _ site_html_path _ site_app_path _ '/docs/review-foundry-manual.html'
= http://www.mydomain.com/rs/foundry/docs/review-foundry-manual.html
Path to the Top Reviewers script
= site_cgi_path _ site_app_path _ site_admin_path _ '/' _ site_top_reviewer_script
= /home/user/cgi-bin/rs/foundry/do/admin/top_reviewer.pl
Path to the Review Foundry script
= site_cgi_path _ site_app_path _ '/do/reviews.cgi'
= /home/user/cgi-bin/rs/foundry/do/reviews.cgi
« Table of Contents | Obtain Review Foundry » Copyright © 2004 Random Mouse Software. All Rights Reserved. |