You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ulf Pietruschka <ul...@etenso.com> on 2007/03/20 17:31:10 UTC

Re: [users@httpd] Howto include my stand alone OC4J server?

You need a proxy (mod_proxy).

http://httpd.apache.org/docs/2.2/mod/mod_proxy.html

Ulf

ETANOIL schrieb:
> In my httpd.conf it's stated
> "
> #
> # DocumentRoot: The directory out of which you will serve your
> # documents. By default, all requests are taken from this directory, but
> # symbolic links and aliases may be used to point to other locations.
> #
> DocumentRoot "/var/www/html"
> "
> How do I include my stand alone OC4J server (default address 
> http://localhost:8888/)?
> E.g. I wish to run a web application I have deployed to the OC4J via a 
> button click on
> the index.html page placed in /var/www/html.
> I'm running Fedora Core 5 and Apache 2.2.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Howto include my stand alone OC4J server?

Posted by ETANOIL <da...@etanoil.com>.
Ulf Pietruschka wrote:
> You need a proxy (mod_proxy).
>
> http://httpd.apache.org/docs/2.2/mod/mod_proxy.html
>
> Ulf
>
> ETANOIL schrieb:
>> In my httpd.conf it's stated
>> "
>> #
>> # DocumentRoot: The directory out of which you will serve your
>> # documents. By default, all requests are taken from this directory, but
>> # symbolic links and aliases may be used to point to other locations.
>> #
>> DocumentRoot "/var/www/html"
>> "
>> How do I include my stand alone OC4J server (default address 
>> http://localhost:8888/)?
>> E.g. I wish to run a web application I have deployed to the OC4J via 
>> a button click on
>> the index.html page placed in /var/www/html.
>> I'm running Fedora Core 5 and Apache 2.2.
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server 
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
Like this?:
<Proxy *>
    Order deny,allow
    Deny from all
    Allow from .localhost.localdomain
</Proxy>
#
<VirtualHost *:8888>
  ServerName localhost.localdomain
  ProxyPass / http://localhost:8888/
  ProxyPassReverse / http://localhost:8888/
</VirtualHost>

-- 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org