Redirection domain problems

Use this forum for questions regarding installation, upgrading and configuration of OpenEMM

Moderator: moderator

lesstra
Posts: 9
Joined: Thu Jan 26, 2012 10:54 am

Redirection domain problems

Post by lesstra »

Hi,

I installed OpenEMM-2011 on Debian squeeze. Everything works OK, except redirection URL's for images. For example, I cannot see them in preview of the Content Manager (the openemm_demo-cms.sql was previously loaded into the database).

I updated rdir_domain to: http://192.168.1.130:8080/openemm (LAN address of the PC with OpenEMM installation), after creating the database.
I also set this URL in the emm and cms properties files according to the install manual.
I restarted absolutely everything (database, tomcat, sendmail) after the changes were made, like a hundred times, but with no effect.
Here is what I get in the Firefox web console (when I try to open the image location link in the browser):

Request Headers
Request URL: http://192.168.1.130:8080/openemm/cms_i ... eview=true
Request Method: GET
Status Code: HTTP/1.1 302 Moved Temporarily

Response Headers
Content-Length:0
Date:Wed, 04 Apr 2012 13:31:39 GMT
Location:http://localhost:8080/ccr_image?cmTempl ... eview=true
Server:Apache-Coyote/1.1

Something is causing this 302 Moved Temporarily and is doing the redirection to localhost:8080, but I have no idea what could it be...???
Also, I don't understand why all instructions/forum posts are talking about redirection addresses that has no /openemm in it???
I mean, where is the openemm webapp hosted if addresses is just like: http://domain:port ? Web app deployment to Tomcat is completely missing from the install guide.
At last, Can this work with IP addresses instead of FQDNs at all?
Thanks.
lesstra
Posts: 9
Joined: Thu Jan 26, 2012 10:54 am

Re: Redirection domain problems

Post by lesstra »

Is OpenEMM webapp supposed to work in some kind of externalized context (CATALINA_BASE being set to install home...) ?
I did one successful installation before with explicit deployment of the openemm webapp folder, but that server had FQDN already set up, so the redirection domain was like http://www.mycompany.co.rs:8080/openemm. In this case everything seemed to worked fine, all images were displayed in previews, mails were successfully being sent, etc.
Post Reply