RE: [users@httpd] am i posting at wrong place!!

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

 



 

> -----Original Message-----
> From: sridevi polavaram [mailto:spolavar@xxxxxxxxx] 
> 	I would use ProxyPass (see
> 	
> http://httpd.apache.org/docs/2.0/mod/mod_proxy.html#proxypass) eg:
> 	
> 	ProxyPass / http://xyz.domain.edu:8080/neuroMor/ 
> <http://xyz.domain.edu:8080/neuroMor/> 
> 	ProxyPassReverse / http://xyz.domain.edu:8080/neuroMor/
> 	
> 	This assumes that the backend can handle
> 	http://xyz.domain.edu:8080/neuroMor/ 
> <http://xyz.domain.edu:8080/neuroMor/>  and redirect to
> 	http://xyz.domain.edu:8080/neuroMor/index.jsp (ie, that 
> it can handle a
> 	request for "/"). 
> 
> 
> > where should i define  these, i guess not in httpd.conf, 
> right! becuase i got an error when i tried to do that

Exactly in httpd.conf. What error did you get? where did it occur (log
file, command line, ?)

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

> 
> 
> 
> 	If http://xyz.domain.edu:8080/neuroMor/ 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. 
> 
> 
> > I am able to get my application loaded as 
> http://xyz.domain.edu/neuroMor
> but with the above change even this is not working...
> and i don't want to mention even the 8080 port in the url 
> just plain http://xyz.domain.edu should bring up my application.
> 
> -Please guide me through this, I am doing this configuration 
> stuff for the first time.
> Thanks
> Sri
> 
> 
> 
> 	Rgds,
> 	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 , 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 <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 
> <http://xyz.domain.edu:8080/neuroMor/index.jsp> 
> 	> <http://xyz.domain.edu:8080/neuroMor/index.jsp>  
> [this is successful
> 	> apache as: http://xyz.domain.edu/neuroMor 
> <http://xyz.domain.edu/neuroMor> 
> 	> <http://xyz.domain.edu/neuroMor>  [this too is successful]
> 	> But if i give http://xyz.domain.edu/ <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.edu <http://xyz.domain.edu/>
> 	> ServerAlias xyz.domain.edu* www.domain.org
> 	> <http://www.domain.org/>  domain.org <http://domain.org/ >
> 	> DocumentRoot /usr/tomcat/apache-tomcat-5.5.15/webapps
> 	> ServerPath /neuroMor
> 	> ErrorLog logs/xyz.domain.edu-error_log
> 	> CustomLog logs/xyz.domain.edu-access_log common
> 	> </VirtualHost> 
> 	> <VirtualHost xxx.xx.xx.xx:8080>
> 	> ServerName www.domain.org <http://www.domain.org/>
> 	> ServerPath /neuroMor
> 	> DocumentRoot /usr/tomcat/apache- tomcat-5.5.15/webapps
> 	> ErrorLog logs/www.domain.org-error_log
> 	> CustomLog logs/www.domain.org-access_log 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/mod_jk.so
> 	> # Where to find workers.properties
> 	> JkWorkersFile /usr/local/apache/workers.properties 
> 	> # 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 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)in
> 	process.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
> 	>
> 	>
> 	>
> 	>
> 	
> 	
> 	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:http://httpd.apache.org/userslist.html > for more info.
> 	To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
> 	   "   from the digest: 
> users-digest-unsubscribe@xxxxxxxxxxxxxxxx 
> <mailto:users-digest-unsubscribe@xxxxxxxxxxxxxxxx> 
> 	For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 	
> 	
> 
> 
> 

---------------------------------------------------------------------
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