Gordster
March 4th, 2008, 02:56 PM
Hi All,
I have searched the forums, and learned a ton - but I still haven't been able to solve my issue(s)...
I have a 'host' server running Gutsy - and VMWare server 1.0.4
2 Unbuntu Gutsy VM's installed
A) is apache2 w/ virtual hosting (3 sites) - all working now thanks to Faulkes
B) is Oracle XE and Apex - working internally (can SQLPlus & Web browser to it)
I am behind a router / firewall.
I can access Oracle and Apex from within my network, but I want to forward certain websites to Apex.
I have added in the proxy stuff as outlined in many posts (but not the mod_rewrite - code to follow), and tested it by forwarding to google - which worked except for images... But when I try to reverse proxy to Oracle I get problems...
ProxyPass /Test/ http://my.int.ip.addy:8080/apex/
ProxyPassReverse /Test/ http://my.int.ip.addy:8080/apex/
I did put in:
<Directory proxy:http://my.int.ip.addy:8080/apex/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
One thing I tried was to change the Oracle port from 8080 to 80, but that started to really get messy. The listener would still start, but there wasn't an entry for http any more. Looing into the listener logs showed:
Error listening on: (Description=(Address=(Protocol=tcp)(Port=80)(Host =))(Presentation=HTTP)(Session=RAW))
but when I change it back to 8080, it shows up again
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=OracleXE .my_domain.ca)(PORT=8080))(Presentation=HTTP)(Sess ion=RAW))
I began to think that I didn't have the correct permissions - as I can use SQL+Plus as my normal user - but not when I sudo. So I thought maybe I couldn't actually change the listener port using the
exec dbms_xdb.sethttpport('80'); in SQLPlus with out being root.
One other thing I'd like to make work - but second to the proxying, is to be able to point a machine INSIDE my network to a URL of one of the sites I have hosted, and have it work. I get "cannot display webpage' (IE7) and "connectioned timed out" (Firefox).
I can show any and all pertinent info as needed :-p
Thanks in advance,
Corey
I have searched the forums, and learned a ton - but I still haven't been able to solve my issue(s)...
I have a 'host' server running Gutsy - and VMWare server 1.0.4
2 Unbuntu Gutsy VM's installed
A) is apache2 w/ virtual hosting (3 sites) - all working now thanks to Faulkes
B) is Oracle XE and Apex - working internally (can SQLPlus & Web browser to it)
I am behind a router / firewall.
I can access Oracle and Apex from within my network, but I want to forward certain websites to Apex.
I have added in the proxy stuff as outlined in many posts (but not the mod_rewrite - code to follow), and tested it by forwarding to google - which worked except for images... But when I try to reverse proxy to Oracle I get problems...
ProxyPass /Test/ http://my.int.ip.addy:8080/apex/
ProxyPassReverse /Test/ http://my.int.ip.addy:8080/apex/
I did put in:
<Directory proxy:http://my.int.ip.addy:8080/apex/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
One thing I tried was to change the Oracle port from 8080 to 80, but that started to really get messy. The listener would still start, but there wasn't an entry for http any more. Looing into the listener logs showed:
Error listening on: (Description=(Address=(Protocol=tcp)(Port=80)(Host =))(Presentation=HTTP)(Session=RAW))
but when I change it back to 8080, it shows up again
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=OracleXE .my_domain.ca)(PORT=8080))(Presentation=HTTP)(Sess ion=RAW))
I began to think that I didn't have the correct permissions - as I can use SQL+Plus as my normal user - but not when I sudo. So I thought maybe I couldn't actually change the listener port using the
exec dbms_xdb.sethttpport('80'); in SQLPlus with out being root.
One other thing I'd like to make work - but second to the proxying, is to be able to point a machine INSIDE my network to a URL of one of the sites I have hosted, and have it work. I get "cannot display webpage' (IE7) and "connectioned timed out" (Firefox).
I can show any and all pertinent info as needed :-p
Thanks in advance,
Corey