cool, it worked! muchas gracias > > From: "Aengus" <[EMAIL PROTECTED]> > Date: 2006/04/07 Fri PM 01:26:26 EDT > To: "Support for analog web log analyzer" <[email protected]> > Subject: Re: [analog-help] asp code > > On Friday, April 07, 2006 12:44 PM [EDT], > [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I know this is really outside the realm of what Analog is supposed to > > do - BUT... since it's so customizable, I was just hoping this was > > possible. > > > > I'd like to have my automatically generated stats file (which is > > currently index.html) - automatically include some ASP code that > > would basically DisAllow viewers that are outside of our IP address. > > > > Something like this: > > > > <% dim userIp > > userIp = (Request.ServerVariables("REMOTE_HOST")) > > If Left(userIp, 10) = "208.50.10." Then > > %> > > STATS HERE > > <% Else > > Response.Write("Sorry, this page cannot be viewed from outside the > > network") > > End If %> > > > > so besides changing the .html to .asp I would also need to > > automatically insert the asp code in the correct location. > > > > Is this possible? > > http://analog.cx/docs/output.html#HEADERFILE > > Put the first ASP snippet in header-asp.txt, and the second snippet in > footer-asp.txt and add > > HEADERFILE header-asp.txt > FOOTERFILE footer-asp.txt > > to your config file. > > Aengus > > +------------------------------------------------------------------------ > | TO UNSUBSCRIBE from this list: > | http://lists.meer.net/mailman/listinfo/analog-help > | > | Analog Documentation: http://analog.cx/docs/Readme.html > | List archives: http://www.analog.cx/docs/mailing.html#listarchives > | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general > +------------------------------------------------------------------------ >
+------------------------------------------------------------------------ | TO UNSUBSCRIBE from this list: | http://lists.meer.net/mailman/listinfo/analog-help | | Analog Documentation: http://analog.cx/docs/Readme.html | List archives: http://www.analog.cx/docs/mailing.html#listarchives | Usenet version: news://news.gmane.org/gmane.comp.web.analog.general +------------------------------------------------------------------------

