Forum OpenACS Q&A: Response to Abstract URL's

Collapse
7: Response to Abstract URL's (response to 1)
Posted by Jerry Adlersfluegel on
I assume that by turning on abstract URLs you mean having ns_param EnableAbstractURLsP 1 in $(hostname).tcl.

Here's what shows up in ~nsadmin/log/server.log when I hit, for example, http://bender/doc/file-storage

[01/Jun/2000:15:08:21][9644.648197][-conn30-] Notice: Querying 'select * from referer_log_glob_patterns;'
[01/Jun/2000:15:08:21][9644.648197][-conn30-] Notice: nsd.db: sql(localhost::bender):  select * from referer_log_glob_patterns
[01/Jun/2000:15:08:21][9644.648197][-conn30-] Notice: Querying 'update referer_log set click_count = click_count + 1
where local_url = '/doc/file-storage' 
and foreign_url = 'http://bender/admin/file-storage/'
and trunc(entry_date) = trunc(sysdate());'
[01/Jun/2000:15:08:21][9644.648197][-conn30-] Notice: nsd.db: sql(localhost::bender):  update referer_log set click_count = click_count + 1
where local_url = '/doc/file-storage' 
and foreign_url = 'http://bender/admin/file-storage/'
and trunc(entry_date) = trunc(sysdate())
If that isn't what you meant, let me know.