Search found 4 matches
- Wed Sep 01, 2010 4:30 pm
- Forum: newLISP in the real world
- Topic: how to intercept HTTP GET image/gif
- Replies: 5
- Views: 1738
Re: how to intercept HTTP GET image/gif
Interesting... Is there a string length limit in newLISP of 254 characters? Requests that are longer than this get truncated when written to the requests.txt file. I see this in the documentation: command-event takes either a symbol of a user-defined function or a lambda function. The function for '...
- Tue Aug 31, 2010 7:00 pm
- Forum: newLISP in the real world
- Topic: how to intercept HTTP GET image/gif
- Replies: 5
- Views: 1738
Re: how to intercept HTTP GET image/gif
Thanks for the help!
- Tue Aug 31, 2010 4:12 pm
- Forum: newLISP in the real world
- Topic: how to intercept HTTP GET image/gif
- Replies: 5
- Views: 1738
Re: how to intercept HTTP GET image/gif
Here is my httpd-conf.lsp file. When I visit http://my-machine/__utm.gif?asdf=qwer the only line in the file called "request" is the GET of favicon...
Code: Select all
(command-event (fn (s)
(set 'file "request")
(write-file file s)
))
- Tue Aug 31, 2010 3:54 pm
- Forum: newLISP in the real world
- Topic: how to intercept HTTP GET image/gif
- Replies: 5
- Views: 1738
how to intercept HTTP GET image/gif
How can I edit httpd-conf.lsp so that it intercepts requests for image/gif's? (My plan is to route all google analytics requests for __utm.gif on my test machine to a newLISP instance using the hosts file, and then have the newLISP instance log the requests so I can compare test runs and verify thin...