Re: [us...@httpd] Apache to Tomcat forwarding not working properly

2010-05-03 Thread Ezra Taylor
Igor: I think you have to create a proxypass entry for your images also. Something similar to the below entry. ProxyPass /images http://localhost/images On Mon, May 3, 2010 at 9:06 PM, Igor Cicimov wrote: > Post your server/vhost and https configuration please. > > > On Tue, May 4,

Re: [us...@httpd] Apache to Tomcat forwarding not working properly

2010-05-03 Thread Gaurav Chhabra
Hi Igor, I have shared the files here: --- http://pastebin.com/8809Wmpb (httpd.conf) http://pastebin.com/e56vtWzH(httpd-ssl.conf) --- If there is anything else you require, please let me know. Thanks & Regards, GC -- View this message in

Re: [us...@httpd] Re: Virtual Hosts Problem - option '-S' to verify yourvirtual host configuration

2010-05-03 Thread Sakthi Esakiappan
Hello, /etc/init.d/httpd is the startup/stop script for http deamon. It can be used to verify the configuration files. Configuration files can be tested through the following /usr/sbin/httpd -S /usr/sbin/apachectl -S These 2 are the binaries of the web server. I personally recommend you to use a

Re: [us...@httpd] Httpd Configuration Clarification

2010-05-03 Thread Anisha Parveen
Thanks Igor for your support. I just could not follow this : i.ga...@prvix ~ % alias uncomment uncomment='sed "/^\s*#/d;/^\s*$/d"' i.ga...@prvix ~ % Can you just explain me what is it and where do I provide these ? Thanks, Anisha 2010/4/29 Igor Galić > > - "Anisha Parvee

Re: [us...@httpd] Proxy Error 502 on one vhost and not the second

2010-05-03 Thread Igor Cicimov
Obviously as the error says you have DNS problem. Apache can not resolve sub.domain2.com into IP address. Contact who ever is maintaining the DNS server in your company and ask them to add an alias for sub.domain2.compointing to the same IP address as sub.domain1.com. Igor On Tue, May 4, 2010 at

Re: [us...@httpd] Proxy Error 502 on one vhost and not the second

2010-05-03 Thread Igor Cicimov
You can also resolve it locally on the Suse server in /etc/hosts file if you know the ip_address of the sub.domain2.com ip_address subdomain2 sub.domain2.com and make sure that the name resolution for hosts in the /etc/nsswitch.conf file is hosts: files dns Igor On Tue, May 4, 2010 at

Re: [us...@httpd] Proxy Error 502 on one vhost and not the second

2010-05-03 Thread Igor Cicimov
> > Contact who ever is maintaining the DNS server in your company and ask them > to add an alias for sub.domain2.com pointing to the same IP address as > sub.domain1.com. > Actually this is wrong. Should be contact who ever is maintaining the DNS server in your company and ask them to add proper

Re: [us...@httpd] Apache to Tomcat forwarding not working properly

2010-05-03 Thread Igor Cicimov
Post your server/vhost and https configuration please. On Tue, May 4, 2010 at 1:57 AM, Gaurav Chhabra wrote: > > Hi, > > > I am facing some problem with Apache to Tomcat forwarding. I have Tomcat > (6.0.18) behind Apache (2.2). I want to use ‘https’ for receiving request > from the client. This

Re: [us...@httpd] Re: redirecting to index.jsp using rewrite rules

2010-05-03 Thread Charan
Thank you, this worked for me On Mon, May 3, 2010 at 12:10 PM, Dan Poirier wrote: > On 2010-05-03 at 14:46, Charan wrote: > > > Hi, > > > > I'm using the below rule to redirect to index.jsp if user doesn't add > > index.jsp to the url. Is it possible to have one rule instead of the > below > >

[us...@httpd] Proxy Error 502 on one vhost and not the second

2010-05-03 Thread Richard van der Walt
Good day there. I'm using mod_proxy to redirect trafic to java applications running on JBoss instances. I have 3 JBoss instances running seperate apps, the redirects of 2 of these works fine with mod_proxy configuration but the third doesn't. The first 2 instances where set up a long time ago. I'

Re: [us...@httpd] Re: Virtual Hosts Problem - option '-S' to verify yourvirtual host configuration

2010-05-03 Thread Frank Gingras
This looks debian-ish. Run apache2ctl -S instead. Frank. On 05/03/2010 03:11 PM, Dan Poirier wrote: On 2010-05-03 at 15:07, "Wang, Mary Y" wrote: #/etc/init.d/httpd -S Usage: httpd {start|stop|restart|condrestart|reload|status|fullstatus|graceful|help|configtest} It returned that usage com

[us...@httpd] Re: Virtual Hosts Problem - option '-S' to verify yourvirtual host configuration

2010-05-03 Thread Dan Poirier
On 2010-05-03 at 15:07, "Wang, Mary Y" wrote: > #/etc/init.d/httpd -S > Usage: httpd > {start|stop|restart|condrestart|reload|status|fullstatus|graceful|help|configtest} > > It returned that usage comment. Am I missing something here? /etc/init.d/httpd is not the apache web server, it's some s

[us...@httpd] Re: redirecting to index.jsp using rewrite rules

2010-05-03 Thread Dan Poirier
On 2010-05-03 at 14:46, Charan wrote: > Hi, > > I'm using the below rule to redirect to index.jsp if user doesn't add > index.jsp to the url. Is it possible to have one rule instead of the below > repeating rule. > > RewriteEngine On > RewriteCond %{REQUEST_URI} /en/[a-z]*/$ > RewriteCond %{REQUE

Re: [us...@httpd] redirecting to index.jsp using rewrite rules

2010-05-03 Thread alin vasile
DirectoryIndex index.jsp ? From: Charan To: users@httpd.apache.org Sent: Mon, May 3, 2010 9:46:51 PM Subject: [us...@httpd] redirecting to index.jsp using rewrite rules Hi, I'm using the below rule to redirect to index.jsp if user doesn't add index.jsp to th

RE: [us...@httpd] Virtual Hosts Problem - option '-S' to verify yourvirtual host configuration

2010-05-03 Thread Wang, Mary Y
#/etc/init.d/httpd -S Usage: httpd {start|stop|restart|condrestart|reload|status|fullstatus|graceful|help|configtest} It returned that usage comment. Am I missing something here? Thanks in advance. Mary -Original Message- From: Frank Gingras [mailto:francois.ging...@gmail.com] Sent:

[us...@httpd] redirecting to index.jsp using rewrite rules

2010-05-03 Thread Charan
Hi, I'm using the below rule to redirect to index.jsp if user doesn't add index.jsp to the url. Is it possible to have one rule instead of the below repeating rule. RewriteEngine On RewriteCond %{REQUEST_URI} /en/[a-z]*/$ RewriteCond %{REQUEST_URI} !\.jsp$ RewriteRule ^(.*)$ $1index.jsp [R=301,L]

[us...@httpd] compiling a portable Apache build for Linux

2010-05-03 Thread Voellinger, Sandy
Good Afternoon - Apache Version: httpd-2.2.15 Linux Version: Red Hat Enterprise Linux Server release 5.4 (Tikanga) / 2.6.18-164.el5xen I'm attempting to compile a version of apache_2 httpd binary that is agnostic of the directory it's run from and will look for its configuration files local

Re: [us...@httpd] Virtual Hosts Problem - option '-S' to verify your virtual host configuration

2010-05-03 Thread Frank Gingras
httpd -S Frank. On 03/05/2010 1:57 PM, Wang, Mary Y wrote: Hi, I'm having some virtual hosts configuration problems. In the httpd.conf, it says "You may use the command line option '-S' to verify your virtual host configuration" . What command do I use with this option '-S' to debug? Any id

[us...@httpd] Virtual Hosts Problem - option '-S' to verify your virtual host configuration

2010-05-03 Thread Wang, Mary Y
Hi, I'm having some virtual hosts configuration problems. In the httpd.conf, it says "You may use the command line option '-S' to verify your virtual host configuration" . What command do I use with this option '-S' to debug? Any ideas. Thanks in advance. Mary -

[us...@httpd] Apache to Tomcat forwarding not working properly

2010-05-03 Thread Gaurav Chhabra
Hi, I am facing some problem with Apache to Tomcat forwarding. I have Tomcat (6.0.18) behind Apache (2.2). I want to use ‘https’ for receiving request from the client. This request, when forwarded by Apache to Tomcat, will use ‘http’. My application’s name is ‘abc’, which is deployed in Tomcat’s