Have you tried running other perl scripts on the server? Usually
there are a few examples in the cgi-bin directory or a quick search
on the 'net can usually find a basic one.
Do they work?
If they do - do they still work if you move one to the same place as
anlgform.pl (if its in a different place to cgi-bin)?
Rgds
Alan Wright
IT Support Technician
Faculty of Education, Health & Sciences
University of Derby
Western Road, Mickleover, DE3 9GX
http://psychology.derby.ac.uk
At 14:40 19/07/2007, you wrote:
Thanks Aengus.
Now I have resolved the first issue, I mean the problem with the pie
charts.
I wrongly understood the purpose of CHARTDIR and LOCALCHARTDIR as I
assumed LOCALCHARTDIR is an alternative image directory and thats why I
specified completely different paths for both the commands.
Anyway, now after pointing them correctly, it worked.
But still, I need something to do with the second issue, the
browser/server running perl.
It works fine with firefox as the server understands perl being called
and runs them to show the output. But, it is not working with Internet
Explorer as it pops the save/download window.
Here again, I have attached the bit from httpd.conf for asking to
execute perl
AddHandler cgi-script cgi pl
ScriptAlias /cgi-bin/ "C:/Program Files/Apache Software
Foundation/Apache2.2/cgi-bin/"
<Directory "C:/Program Files/Apache Software
Foundation/Apache2.2/cgi-bin">
Options +ExecCGI +FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Can anyone please give any idea to solve this?
Thanks
Shiv.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Aengus
Sent: 19 July 2007 11:36
To: Support for analog web log analyzer
Subject: Re: [analog-help] Request Pie Chart for same page but different
args
On Thursday, July 19, 2007 5:07 AM [EDT],
Rajamanickam S. <[EMAIL PROTECTED]> wrote:
> Right.. Now I looked in the paths specified in both CHARTDIR and
> LOCALCHARTDIR which I set to
>
> CHARTDIR "/icons/analog_images/"
> LOCALCHARTDIR "C:\Downloads\analog 6.0\pngs\"
>
> The req.png file in the LOCALCHARTDIR path is showing the correct pie
> chart (the expected pie chart with the same url but with different
> arguments) BUT the one in the CHARTDIR is showing the wrong one and
> this is the pie chart which is displayed in the request report.
>
> Did I made anything wrong in specifying the chart directories?
Anaog doesn't know anything about the structure of your web server, so
CHARTDIR is basically substituted directly into the IMG SRC tag in the
HTML
file that Analog generates. It tells your web browser what the web path
to
the images is. Usually, if Report.html is in \analog\ and LOCALCHARTDIR
is
in \analog\pngs, the CHARTDIR will be pngs\ (or .\pngs\).
> FYI, I am using Apache server and the chart directory
> /icons/analog_images is inside the Apache directory.
But that's not where you told Ananlog to put the charts that it
generates,
unless you've told Apache to map /icons/analog_images to
C:\Downloads\analog 6.0\pngs\
> And also an other quick and completely different issue. If I use
> Internet explorer to view anlgform.html and if I submit the form, it
> doesn't run perl, instead it pops up a save/download window to save
> anlgform.pl
>
> I have configured the httpd.conf in apache such that
>
> AddHandler cgi-script cgi pl
...
> Could you please clarify these couple of queries please?
I'm going to pass on that one - it's been a couple of years since I set
up
anlgform.pl on Apache, and I don't really remember the details. I'm sure
someone else will have an answer.
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
+------------------------------------------------------------------------
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
+------------------------------------------------------------------------
| 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
+------------------------------------------------------------------------