Hi all

I would like to raise this issue again but progressed a bit with a different 
approach. The problem that IE opens 'Unknown file type' dialog box to save/open 
the executed .pl file is (may be) because of the apache server returns with 
application/xhtml+xml content-type header.

After confirming this with outputting in curl, I tried to configure httpd.conf 
in apache as reported in other articles/forums but still cannot get the desired 
report page to be displayed.

FYI, here is the excerpt from the httpd.conf

<IfModule rewrite_module>
RewriteEngine on
RewriteCond %{REQUEST_URI} \.xhtml$
RewriteCond %{HTTP_USER_AGENT} .*MSIE.* [OR]
RewriteCond %{HTTP_ACCEPT} application/xhtml\+xml\s*;\s*q=0\.?0*(\s|,|$)
RewriteRule .* - [T=text/html]
</IfModule>

Did any one using analog faced a similar situation or those who using apache 
server with analog, can you check whether it is working when you query the 
analog using the web page in Internet Explorer please?

Please shed your views if I am wrong anywhere too.

Many thanks
Shivram Rajamanickam



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Aengus
Sent: 19 July 2007 15:45
To: Support for analog web log analyzer
Subject: Re: [analog-help] IE not running Perl

Rajamanickam S. <[EMAIL PROTECTED]> wrote:
> 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.

That sounds like a problem with MIME types. I'd suggest using a command
line tool line like wget or curl to see the full headers being returned
by the web server - the web browser uses that information to decide how
to handle the response.

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
+------------------------------------------------------------------------

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
+------------------------------------------------------------------------



+------------------------------------------------------------------------
|  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
+------------------------------------------------------------------------

Reply via email to