package home
_content_ {
Your own Greenstone home page
Search page for the demo collection
Click here
"About" page for the demo collection
Click here
Preferences page for the demo collection
Click here
Home page
Click here
Help page
Click here
Administration page
Click here
The Collector
Click here
}
# if you hate the squirly green bar down the left-hand side of the
# page, uncomment these lines:
# _header_ {
# }
You can use Figure
_macroname_ {
...
}
For example, the squirly green bar down the left-hand side of Greenstone pages is defined in the //_header_// macro, and making this macro null will remove it, as indicated at the end of Figure
Redirect /index.html http://www.yourserver.com/cgi-bin/library
Then you will reach your digital library system directly from the URL // http:%%//%%www.yourserver.com //. Instead, if you wanted a URL like // http:%%//%%www.yourserver.com/greenstone // to be redirected to // http:%%//%%www.yourserver.com/cgi-bin/library //, include in the //httpd.conf// file
Redirect /greenstone http://www.yourserver.com/cgi-bin/library
If your computer doesn't have a domain name (like the “www.yourserver.com” above), just replace // www.yourserver.com // by // localhost // in the lines above. So long as the browser is running on the same machine as the webserver—which it surely is if your computer doesn't have a domain name—this has the same effect as the above redirections.
Instead of putting redirect directives into the file //httpd.conf//, you can equally well put them into a file called //.htaccess// within your server's document root directory. In fact, doing so has two advantages. First, changes to //.htaccess// take effect immediately, whereas you have to restart the Apache webserver to see the effect of changes to //httpd.conf//. Second, on Unix systems you usually have to be logged in as the “root” user to edit //httpd.conf//, whereas you don't to edit //.htaccess//.