[users@httpd] am i posting at wrong place!!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
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!!
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
, workers.properties 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:
http://xyz.domain.edu is given my neuroMor homepage should comeup!!
I can otherwise invoke my application via
tomcat as :
http://xyz.domain.edu:8080/neuroMor/index.jsp [this is successful
apache as:
http://xyz.domain.edu/neuroMor [this too is successful]
But if i give
http://xyz.domain.edu/
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
xyz.domain.eduServerAlias
xyz.domain.edu*
www.domain.org
domain.orgDocumentRoot
/usr/tomcat/apache-tomcat-5.5.15/webappsServerPath /neuroMorErrorLog
logs/xyz.domain.edu-error_logCustomLog logs/xyz.domain.edu-access_log
common</VirtualHost><VirtualHost
xxx.xx.xx.xx:8080>ServerName
www.domain.org
ServerPath
/neuroMorDocumentRoot /usr/tomcat/apache-tomcat-5.5.15/webappsErrorLog
logs/www.domain.org-error_logCustomLog logs/www.domain.org-access_log common
</VirtualHost>#To be added at the end of your httpd.conf tomcat
auto-configureInclude
/usr/tomcat/apache-tomcat-5.5.15/conf/auto/mod_jk.conf# Load mod_jk
moduleLoadModule jk_module libexec/mod_jk.so# Where to find
workers.propertiesJkWorkersFile /usr/local/apache/workers.properties#
Where to put jk logsJkLogFile /var/log/httpd/mod_jk.log# Set the jk log
level [debug/error/info]JkLogLevel info# Select the log
formatJkLogStampFormat "[%a %b %d %H:%M:%S %Y] "# JkOptions indicate to
send SSL KEY SIZE,JkOptions +ForwardKeySize +ForwardURICompat
ForwardDirectories# JkRequestLogFormat set the request
formatJkRequestLogFormat "%w %V %T"# Static files in the neuroMor webapp
are served by apacheAlias /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 Nonedeny from
all</Location>#JkAutoAlias
/usr/tomcat/apache-tomcat-5.5.15/webapps# Send servlet for context /examples
to worker named worker1JkMount /index.jsp ajp13# Send JSPs for conext
/examples to worker named worker1JkMount /* ajp13
My workers.properties file is as follows:
workers.tomcat_home=$CATALINA_HOME
workers.java_home=$JAVA_HOME
ps=/
worker.list=ajp13
worker.ajp13.port=8009
worker.ajp13.host=localhost
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)libjvm.so
worker.inprocess.stdout=$(workers.tomcat_home)$(ps)logs$(ps)inprocess.stdout
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
[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]