I would like my server to update a database every time a new user
accesses a specific page.  Currently I do that by embedding a call to
a cgi script via an SSI execution line in each file I want to log
access to.  That method doesn't seem to work reliably and I think it
may be due to caching of the html file.

What I'm trying to do is this:

1. Client accesses my page "spec-page.html"
2a. Server uses CGI vars to update a database
2b. Sever then returns "spec-page.html" to the client.

I would like to avoid making "spec-page.html" a dynamic one if possible.

Is there any way to get the update command via using an httpd conf
entry for, say, files meeting a certain regex?

I have never used mod_rewrite, but could that be used somehow?

Thanks for any hints.

Best regards,

-Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to