httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] am i posting at wrong place!!
Date Fri, 28 Jul 2006 07:01:22 GMT
> -----Original Message-----
> From: sridevi polavaram [] 
> Sent: Thursday, July 27, 2006 7:39 PM
> To:
> Subject: [users@httpd] am i posting at wrong place!!
> I am surpirsed that nobody has responded to my query since 
> yesterday. I am so desperate for help!! I have done my best 
> to solve the problem but it wasn't successful. I am sure if 
> you spend a few minutes you will know that mine is a simple 
> problem. Please help me!! 

It might be simple  problem but you presented it as a very complicated
one - a mix of apache and tomcat with all real addresses obfuscated to
make them harder to read and then they whole thing in HTML mail so that
it gets screwed up in a plain-text reader like mine...

A few tips for your next post:

- post in plain text
- use real domain-names/URLs/filenames etc.
- keep the question clear and precise (eg, How do I...) 
- Don't overload with a lot of detail

Getting to your question, which I believe is, "How do I make the
homepage of a virtual host lead to the homepage of a back-end

I would use ProxyPass (see eg:

ProxyPass /
ProxyPassReverse /

This assumes that the backend can handle and redirect to (ie, that it can handle a
request for "/").

If is available on the public
internet, LDB's suggestion to use Redirect will also work, although the
browser location bar will change and they will need access to port 8080.

Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> I don't know if this query ever got posted..but i didn't get 
> any reply so far.
> Dear Forum,
>  I am posting a query for the first time. That too only 
> because i didn't find any other resource for help!!
> I have successfully setup Virtualhost definition on my fedora 
> 4 machine by modifyin the httpd.conf , and 
> server.xml files
> right now i have apache 2.0 talking to tomcat 5.5 via mod_jk 
> successfully.
> I am able to invoke my applications hosted on tomcat 5.5 via 
> apache without any problems but
> i have one application space in tomcat called neuroMor in the 
> webapps folder. 
> " I want to show the home page of this application as the 
> default apache web server home page" (i.e) when url: 
> <>  is given my 
> neuroMor homepage should comeup!! 
> I can otherwise invoke my application via
> tomcat as : 
> <>  [this is successful
> apache as: 
> <>  [this too is successful]
> But if i give <> 
> it is taking to the error page saying index.jsp doesn't 
> exist..I have changed the httpd.conf file accordingly. Please 
> take a look at it
> <VirtualHost xxx.xx.xx.xx:8080>
> ServerName <> 
> ServerAlias* 
> <> <> 
> DocumentRoot /usr/tomcat/apache-tomcat-5.5.15/webapps
> ServerPath /neuroMor
> ErrorLog logs/
> CustomLog logs/ common
> </VirtualHost>
> <VirtualHost xxx.xx.xx.xx:8080>
> ServerName <>  
> ServerPath /neuroMor
> DocumentRoot /usr/tomcat/apache-tomcat-5.5.15/webapps
> ErrorLog logs/
> CustomLog logs/ common 
> </VirtualHost>
> #To be added at the end of your httpd.conf tomcat auto-configure
> Include /usr/tomcat/apache-tomcat-5.5.15/conf/auto/mod_jk.conf
> # Load mod_jk module
> LoadModule jk_module libexec/
> # Where to find
> JkWorkersFile /usr/local/apache/
> # Where to put jk logs
> JkLogFile /var/log/httpd/mod_jk.log
> # Set the jk log level [debug/error/info]
> JkLogLevel info
> # Select the log format
> JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
> # JkOptions indicate to send SSL KEY SIZE,
> JkOptions +ForwardKeySize +ForwardURICompat ForwardDirectories
> # JkRequestLogFormat set the request format
> JkRequestLogFormat "%w %V %T"
> # Static files in the neuroMor webapp are served by apache
> Alias /neuroMor /usr/tomcat/apache-tomcat-5.5.15/webapps/neuroMor
> # The following line prohibits users from directly access WEB-INF
> <Location "/neuroMor/WEB-INF/">
> AllowOverride None
> deny from all
> </Location>
> #JkAutoAlias /usr/tomcat/apache-tomcat-5.5.15/webapps
> # Send servlet for context /examples to worker named worker1
> JkMount /index.jsp ajp13
> # Send JSPs for conext /examples to worker named worker1
> JkMount /* ajp13
> My file is as follows:
> workers.tomcat_home=$CATALINA_HOME
> workers.java_home=$JAVA_HOME 
> ps=/
> worker.list=ajp13
> worker.ajp13.port=8009
> worker.ajp13.type=ajp13
> worker.ajp13.lbfactor=1
> worker.loadbalancer.type=lb 
> worker.loadbalancer.balanced_workers=ajp13
> worker.inprocess.type=jni
> worker.inprocess.class_path=$(workers.tomcat_home)$(ps)server$(ps)lib
> worker.inprocess.cmd_line=start
> worker.inprocess.jvm_lib=$ (workers.java_home)$(ps)jre$(ps)lib$(ps)
> i386$(ps)server$(ps)
> worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)in
> worker.inprocess.stderr=$(workers.tomcat_home 
> )$(ps)logs$(ps)inprocess.stderr
> I will be awaiting for your help!! as i am going though a time crunch.
> Thanks a lot
> Sri
This message is for the named person's use only. It may contain confidential, proprietary
or legally privileged information. No confidentiality or privilege is waived or lost by any
mistransmission. If you receive this message in error, please notify the sender urgently and
then immediately delete the message and any copies of it from your system. Please also immediately
destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail communications through their
networks. Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorised to state them to be the views of
the sender's company.

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message