in reply to Re: Visitors logger cgi script
in thread Visitors logger cgi script

Disallow access to the real files and force users to access only the script. Use the query string to decide which file to load.

Actually, the URIs do not have to be ugly if you use the path_info instead of the query string: http://myhost/index.html becomes http://myhost/a.cgi/index.html. You can even keep the URL same as before by using a ScriptAlias directive (which I suppose your host does not let you have, though).