Wallace Mills wrote:
> I hope someone can help here.
> I have set up,I think everything correctly, and have run from
> the command line - "anlgform.pl qv=1 LOGFILE=?etc/analogpl.cfg"
Using the "qv=1" does not test whether anlgform.pl is able to find
Analog. It only tell you what settings you sent to it.
> this produces the following
>
> CGI ON
> DNS NONE
> WARNINGS FL
> OUTFILE stdout
>
> Which appears as though it is trying to write to the screen,
> although nothing is written on the screen. In my config file I
> have listed OUTFILE to go to a specified directory as
> "stats.html". From the results of the cmd line execution am I
> correct that it is not reading the config file I have set up or
> am I doing something grossly incorrect.
Anlgform will only write to the screen for security reasons -- otherwise
any user could start writing reports all over your system.
> In the http error log it states:
>
> [Tue Mar 6 21:23:53 2001] [error] [client ip address] script
> not found or unable to stat:
> /home/httpd/cgi-bin/analmail.css[Tue Mar 6 21:23:56 2001]
You can't put files in your cgi-bin that you expect the browser to read.
Only executable script should go in there.
> The analmail.css is a style sheet I use on my normal stat files
> but I removed reference to it in the new config file, so I do
> not know why it still appears. The same for the gif file, I have
> not put it in the correct directory yet.
Likely you need to tell Analog to not use the default config file.
Alternately, you can use the keyword none to disable stylesheet and
logos or use an absolute URL to retrieve them from some known location.
> [error] [client ip address] script not found or unable to stat:
> /home/httpd/cgi-bin/analmail.css/usr/bin/analog: analog version
> 4.13/Unix
> /usr/bin/analog: Warning F: Failed to open configuration file
> /etc/analog/analogpl.cfg: ignoring it
> As for why it can not
> open the config file I do not know, I have the same permissions
> as I do on the other analog config files and they work OK. The
> location of the config file as shown in the log extract is
> incorrect and I have the correct path /etc/analogpl.cfg in the
> anlgform.html file, why ???
Your error message says
/etc/analog/analogpl.cfg
not
/etc/analogpl.cfg
as you say above.
--
Jeremy Wadsack
Wadsack-Allen Digital Group
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------