This content has been marked as final. Show 10 replies
If I understand correctly your setup, I assume you have not copy APEX images to other server folder.
Check from configuration file witch folder alias /i/ is pointing and place APEX install files image folder content there.
My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
I my opinion You have to configure regular Apache as Reverse Proxy in DMZ. Reverse Proxy will redirect every request to your internal server. It will be work perfect.
I was thinking along the same lines, I have a job into get access to the server. Structured IT orginisations take time to do anything!
My Comms bods have their load ballencers apparently working as a reverse proxi. But making the HTTP server a reverse proxi is a thought. I'll run it by them.
Thanks for the avenue of investigation.
@AndyPol - stiil waiting on the comms bods getting back to me.
Ok eventualy I was permitted to see (they sent me a copy) the dads.conf file on the HTTP server and given rights to write to the image folder.
I copied the images from
/fs1/app/oracle/product/ohs_apex/Apache/images/ on the internal server
on the DMZ server.
the following is the dads.conf - I'm not seeing anything wrong with it, can any one note anything obviouse?
Alias /i/ "/fs1/app/oracle/product/ohs_home/Apache/images/"
AddType text/xml xbl
AddType text/x-component htc
PlsqlDatabaseConnectString crdapex.southlanarkshire.gov.uk:1521:orcl ServiceNameFormat
Allow from all
Edited by: bjorn toulouse on Mar 15, 2013 4:58 AM
Edited by: bjorn toulouse on Mar 15, 2013 4:59 AM
My reverse proxy section in httpd.conf:
# image Alias
Alias /i/ /u01/apex/images/
# Directory for APEX files
Allow from all
ExpiresDefault "access plus 1 month"
### compressed Files type
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE text/x-component
### Setting reverse proxy
# flasch Charts #HOST# )
ProxyPass /apex http://localhost:8080/apex
ProxyPassReverse /apex http://localhost:8080/apex
SetEnv force-proxy-request-1.0 1
SetEnv proxy-nokeepalive 1
It works perfect for me.
Hi Andy, thanks for getting back to me,
this is driving me nuts.
In my orginisation IT is devided into small boxes for each function so...
Apex - development - me and kev
Linux - server team
Oracle - DBAs
HTTP Server - DBAs (because it comes on the oracle CD go figure??)
Any changes to permissions or security - the opperations team
Anything to do with internet - internet team
I raised a request with the comms team to look at using the box as a reverse proxi, they have not got back to me yet.
Apex is low on their priority list.
From what they told me they have a hardware reverse proxi to "translate" the incoming requests to the DMZ http server. The DMZ http server then uses modplsql to query my application. The app is based of view of the data on the Internal DB server.
With a bit of luck they might let us try the reverse proxi on the DMZ server.
Like I said I'm a bit out my depth on this one.
oops double post - sorry
Edited by: bjorn toulouse on Mar 18, 2013 7:21 AM
In addition to Andy's Comments the following should be noted.
For some reason the Http server required the images path to be the same on both boxes - no idea why - if you install http server stand alone you will get an ohs_home if installed with apex you get ohs_apex, create an ohs_apex folder and copy every thing into it.
The other wierd bit is that the http server will no longer look here for its images, it will go to the apex server that is running HTTP server.
So why it neads this folder or indead why it neads the conf files to point here is a mystery to me.
Any way heres hopping this helps someone else.