Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » BIRT » Birt Missing images on ProxyPass
Birt Missing images on ProxyPass [message #756159] Fri, 11 November 2011 10:23 Go to next message
Ville Kaukonen is currently offline Ville Kaukonen
Messages: 19
Registered: January 2011
Junior Member
Hello,

I am configuring a proxypass from DMZ to my Birt server. It is working otherwise fine, but I am missing all the images included in project. Images like navication pics that are in the viewer are loading fine. Also I am able to export the report with the images.

Viewer Version : 2.6.1
Engine Version: 2.6.1
JRE version: 1.6.0_24

Apache config

<VirtualHost *:443>


    ServerName testbirt.ourdomain.com
    ServerAdmin webadmin@localhost
    ErrorLog logs/ssl_error_log
    TransferLog logs/ssl_access_log
    LogLevel warn

    SSLEngine on
    SSLProtocol all -SSLv2
    SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
    SSLCertificateFile /etc/httpd/conf/ssl.crt/sslname.crt
    SSLCertificateKeyFile /etc/httpd/conf/ssl.key/sslname.key

    ProxyRequests Off
    <Proxy *>
      Order deny,allow
      Allow from all
    </Proxy>


    ProxyPass /birt/ http://testbirt.intra.dom:8080/birt/
    ProxyPassReverse /birt/ http://testbirt.intra.dom:8080/birt/



    SetEnvIf User-Agent ".*MSIE.*" \
         nokeepalive ssl-unclean-shutdown \
         downgrade-1.0 force-response-1.0

    CustomLog logs/ssl_request_log \
          "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

</VirtualHost>


This is how the report loads
index.php/fa/6098/0/
Re: Birt Missing images on ProxyPass [message #756228 is a reply to message #756159] Fri, 11 November 2011 15:14 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

If you use the /preview servlet mapping instead of the /frameset mapping
do the images come through?

Jason

On 11/11/2011 5:24 AM, Ville Kaukonen wrote:
> Hello,
>
> I am configuring a proxypass from DMZ to my Birt server. It is working otherwise fine, but I am missing all the images included in project. Images like navication pics that are in the viewer are loading fine. Also I am able to export the report with the images.
>
> Viewer Version : 2.6.1
> Engine Version: 2.6.1
> JRE version: 1.6.0_24
>
> Apache config
>
> <VirtualHost *:443>
>
>
> ServerName testbirt.ourdomain.com
> ServerAdmin webadmin@localhost
> ErrorLog logs/ssl_error_log
> TransferLog logs/ssl_access_log
> LogLevel warn
>
> SSLEngine on
> SSLProtocol all -SSLv2
> SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
> SSLCertificateFile /etc/httpd/conf/ssl.crt/sslname.crt
> SSLCertificateKeyFile /etc/httpd/conf/ssl.key/sslname.key
>
> ProxyRequests Off
> <Proxy *>
> Order deny,allow
> Allow from all
> </Proxy>
>
>
> ProxyPass /birt/ http://testbirt.intra.dom:8080/birt/
> ProxyPassReverse /birt/ http://testbirt.intra.dom:8080/birt/
>
>
>
> SetEnvIf User-Agent ".*MSIE.*" \
> nokeepalive ssl-unclean-shutdown \
> downgrade-1.0 force-response-1.0
>
> CustomLog logs/ssl_request_log \
> "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
>
> </VirtualHost>
>
> This is how the report loads
>
Re: Birt Missing images on ProxyPass [message #756536 is a reply to message #756228] Mon, 14 November 2011 09:06 Go to previous messageGo to next message
Ville Kaukonen is currently offline Ville Kaukonen
Messages: 19
Registered: January 2011
Junior Member
Jason Weathersby wrote on Fri, 11 November 2011 10:14
If you use the /preview servlet mapping instead of the /frameset mapping
do the images come through?

Jason


Yes on preview the images load fine.
Re: Birt Missing images on ProxyPass [message #756663 is a reply to message #756536] Mon, 14 November 2011 15:39 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason Weathersby
Messages: 9167
Registered: July 2009
Senior Member

Are you setting the base_url in the viewer properties?
Have a look at these:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=303453
https://bugs.eclipse.org/bugs/show_bug.cgi?id=266346


Jason

On 11/14/2011 4:06 AM, Ville Kaukonen wrote:
> Jason Weathersby wrote on Fri, 11 November 2011 10:14
>> If you use the /preview servlet mapping instead of the /frameset
>> mapping do the images come through?
>>
>> Jason
>
>
> Yes on preview the images load fine.
Re: Birt Missing images on ProxyPass [message #756809 is a reply to message #756663] Tue, 15 November 2011 08:50 Go to previous message
Ville Kaukonen is currently offline Ville Kaukonen
Messages: 19
Registered: January 2011
Junior Member
Jason Weathersby wrote on Mon, 14 November 2011 10:39
Are you setting the base_url in the viewer properties?
Have a look at these:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=303453
https://bugs.eclipse.org/bugs/show_bug.cgi?id=266346


Jason


I haven't set base_url.


Joseph 2010-05-25 07:54:07 EDT on Bug 303453



There is no know way to configure BIRT so that it will work BOTH when access
directly and when accessed behind a reverse proxy.


Direct access is more important for me. Actually I can settle with the preview and pdf-format reports on DMZ-access. Maybe later setup another instance of Birt and configure it working properly from proxypass.

[Updated on: Tue, 15 November 2011 08:50]

Report message to a moderator

Previous Topic:PHP BIRT - Delete Session Folders
Next Topic:How to display empty columns in a crosstab
Goto Forum:
  


Current Time: Thu Oct 23 05:27:03 GMT 2014

Powered by FUDForum. Page generated in 0.19808 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software