Hello
Stephen Turner answered the question I had about virtual domains and the
web. However I am still a little confused as to the values of the select
statement? If someone could look at the configuration I have below, and
let me know if this would be correct?
IN THE ANALOG CONFIG FILE:
LOGFILE /path/to/log/file http://www.domain1.com
LOGFILE /path/to/log/file http://www.domain2.com
LOGFILE /path/to/log/filr http://www.domain3.com
IN THE ANALOG FORM (html form)
<select NAME="LOGFILE">
<option value="http://www.domain1.com">DOMAIN1</option>
<option value="http://www.domain2.com">DOMAIN2</option>
<option value="http://www.domain3.com">DOMAIN3</option>
</select>
CHANGE NOTHING IN THE ANALOG .PL FILE
Is this the correct, or simple way of going about the virtual domain and
the web problem??
Thank You,
Blake Starkenburg
Stephen Turner wrote:
>
> On Tue, 14 Dec 1999, Blake Starkenburg wrote:
>
> > Hello All,
> > First time user and subscriber, Hello. Searching the mailing lists I
> > found allot of questions relating to virtual domains and the analog.cfg
> > file. However I found very little on the problem of using the analog
> > program with virtual domains and the web. By this, I mean having clients
> > or customers visiting a site or page, clicking on a button, and viewing
> > their own log files. I have Apache set-up to log each VH to their own
> > separate access-log file. I found allot on command line issues but very
> > little on the above described problem. Has anyone come up with a
> > detailed account of configuration issues or solutions? I would love to
> > see or hear of them if possible.
> >
> > I did look at the example file in the example directory, but got very
> > little out of this. If I add a separate LOGFILE directive to the .cfg
> > file, how is the .pl file in the cgi-bin directory supposed to know
> > which LOGFILE to look at and analysis?
> >
>
> What you need to do is issue the LOGFILE command from the form instead.
> For example, add something like a <select name="LOGFILE"> to the form.
>
> However, you should be aware that unless you take extra steps like password
> protection (which anlgform doesn't even attempt to do) then people could
> analyse each other's logfiles too.
>
> --
> Stephen Turner [EMAIL PROTECTED] http://www.statslab.cam.ac.uk/~sret1/
> Statistical Laboratory, 16 Mill Lane, Cambridge CB2 1SB, England
> "As always, it's considered good practice to temporarily disable any
> virus detection software prior to installing new software." (Netscape)
>
> ------------------------------------------------------------------------
> This is the analog-help mailing list. To unsubscribe from this
> mailing list, send mail to [EMAIL PROTECTED]
> with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
> List archived at http://www.mail-archive.com/[email protected]/
> ------------------------------------------------------------------------
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe analog-help" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------