A question about configuring Apache Http Server

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

I installed the Apache Http Web Server on RH-Linux and want to configure it
so that the incoming browsing will be forward to the application deployted
on Jboss. I do followings:

1. Set the ip-address in "/etc/sysconfig/network-scripts/ifcfg-eth0:xx"

2. Create a .conf file which looks as follow:
...
<VirtualHost 194.12.34.38:80>
        ServerName web-mycompany.com:80
        ServerAdmin root@localhost
        DocumentRoot /opt/content/web-myweb

        <IfModule mod_weblogic.c>
        debug ALL
        WLLogFile  /var/log/httpd/wl-proxy-myweb.log
        DebugConfigInfo ON

        </IfModule>


        CustomLog /var/log/httpd/web-myweb-test.mycompany-combined_log
combined
        ErrorLog  /var/log/httpd/web-myweb-test.mycompany-error_log


        <Directory "/opt/content/web-portfolio">
            Options Indexes FollowSymLinks
            AllowOverride all
            Order allow,deny
            Allow from all
        </Directory>

         #1 Send everything for context /examples to worker named
worker_portfolio (ajp13)


        JkMount  /myWebApp* myworker

</VirtualHost>
...

3. Configure the workers.properties as follow:

...
myowrker

# worker template
worker.template.connection_pool_timeout=600
worker.template.socket_timeout=120
worker.template.type=ajp13
worker.socket_keepalive=True

# Set properties for worker_portfolio
worker.myworker.reference=worker.template
worker.myworker.host=test.mycompany.com
worker.myworker.port=8009

...

I think that's all for the configuration. Or maybe I forgot something?

But as I try to call up "http://web-mycompany.com/myWebApp";, it failed. I
got error message as follow:

...
The following error was encountered:

    * Connection Failed 

The system returned:

    (111) Connection refused

The remote host or network may be down. Please try the request again. 
...
-- 
View this message in context: http://www.nabble.com/A-question-about-configuring-Apache-Http-Server-tp25382056p25382056.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux