Re: [users@httpd] A rewrite rule

2011-11-25 Thread Dennis
Thanks, Igor,  I want the url in user's browser looks like "tc.example.com/what", so a 302 redirect is not ok. Any other way to do this?Dennis --- On Fri, 11/25/11, Igor Cicimov wrote: From: Igor Cicimov Subject: Re: [users@httpd] A rewrite rule To: users@httpd.apache.org Date: Friday, Novembe

Re: [users@httpd] Directory Index not displaying

2011-11-25 Thread Stan Laughlin
OK. I think I got it. Re-installed Apache2. (Totally different issue there - let me tell you.) 1) Edited a section into the README.html file. Simple text message. *This was most certainly one of my primary failures.* 2) I queried another individual running similar configuration and did the fo

Re: [users@httpd] Getting blog.domain.com instead of domain.com/blog

2011-11-25 Thread Sean Conner
It was thus said that the Great Chris Arnold once stated: > I am not sure if this is an apache issue or not but i thought i ask and > see what the experts thought. I have a WP blog at domain.com/blog. I want > to have people access the blog by blog.domain.com. I have public dns > entries for blog.d

Re: [users@httpd] Getting blog.domain.com instead of domain.com/blog

2011-11-25 Thread Igor Galić
- Original Message - > I am not sure if this is an apache issue or not but i thought i ask > and see what the experts thought. > I have a WP blog at domain.com/blog. I want to have people access the > blog by blog.domain.com. I have public dns entries for > blog.domain.com that point back

[users@httpd] Getting blog.domain.com instead of domain.com/blog

2011-11-25 Thread Chris Arnold
I am not sure if this is an apache issue or not but i thought i ask and see what the experts thought. I have a WP blog at domain.com/blog. I want to have people access the blog by blog.domain.com. I have public dns entries for blog.domain.com that point back to the public ip but this does not re

Re: [users@httpd] Multi-level context with #

2011-11-25 Thread Tom Evans
On Fri, Nov 25, 2011 at 5:13 PM, Adil Munir wrote: > we are trying to work with multi-level context > > we have tried tomcat 6.24, 7 with JDK 6 update 17,18, 19, 25 tomcat != httpd. Try here: http://tomcat.apache.org/lists.html Cheers Tom -

[users@httpd] Multi-level context with #

2011-11-25 Thread Adil Munir
we are trying to work with multi-level context we have tried tomcat 6.24, 7 with JDK 6 update 17,18, 19, 25 server 2008 64 bit we have the xml and war file as follows: S:\Server\x\servers\xxx\tomcat\conf\Catalina\localhost\ws#management.xml webapps/ws/management.war error: java.lang.IllegalArgum

Re: [users@httpd] Redirect https' 404 to http...

2011-11-25 Thread Igor Galić
- Original Message - > Hi, > > Apache newbie here. > > is there a simple way to redirect all https' 404 to http? > I searched for some solutions but could not find any... > > Is there a rewrite variable that holds the http return code? > Something like: > >   RewriteCond %{HTTPS} on >   R

Re: [users@httpd] A rewrite rule

2011-11-25 Thread Igor Galić
- Original Message - > > Hi, guys, > > > I want to rewrite from "tc.example.com/xyz" to "example.com/good/tc" Essentially you want to do reverse proxying. http://www.apachetutor.org/admin/reverseproxies > I tried the following rewrite rule, but it doesnot work. > > > RewriteCond %{HTTP

Re: [users@httpd] Redirect https' 404 to http...

2011-11-25 Thread Tom Evans
On Fri, Nov 25, 2011 at 11:54 AM, John Doe wrote: > Hi, > > Apache newbie here. > > is there a simple way to redirect all https' 404 to http? > I searched for some solutions but could not find any... > > Is there a rewrite variable that holds the http return code? Interesting one. There is nothin

Re: [users@httpd] A rewrite rule

2011-11-25 Thread Igor Cicimov
Is this working? RewriteCond %{HTTP_HOST} \.tc\.example\.com$ RewriteRule ^/(.*)$ http://example.com/good/tc/$1 [R,L] or you just want anything to go to /good/tc ? RewriteCond %{HTTP_HOST} \.tc\.example\.com$ RewriteRule ^/.* http://example.com/good/tc [R,L] On Fri, Nov 25, 2011 at 10:46 PM

[users@httpd] Redirect https' 404 to http...

2011-11-25 Thread John Doe
Hi, Apache newbie here. is there a simple way to redirect all https' 404 to http? I searched for some solutions but could not find any... Is there a rewrite variable that holds the http return code? Something like:   RewriteCond %{HTTPS} on   RewriteCond %{RETURN_CODE} 404   RewriteRule (.*) ht

[users@httpd] A rewrite rule

2011-11-25 Thread Dennis
Hi, guys, I want to rewrite from "tc.example.com/xyz" to "example.com/good/tc" I tried the following rewrite rule, but it doesnot work. RewriteCond %{HTTP_HOST} \.tc\.example\.com$RewriteRule ^/(.*) /good/$1 [NC,P,L] Any idea how to do it? Thanks.Dennis

Re: [users@httpd] Struggling to overcome the learning curve for Apache http server !!!!

2011-11-25 Thread Igor Galić
- Original Message - > I plan to write the RHCSA and RHCE exams, when I feel confident > enough, the course content for servers is too thin. I will not stand > a chance in any interview or otherwise if I just go with the > course-ware. There's a couple of books out there which can be cal

Re: [users@httpd] Struggling to overcome the learning curve for Apache http server !!!!

2011-11-25 Thread rota regi
I plan to write the RHCSA and RHCE exams, when I feel confident enough, the course content for servers is too thin. I will not stand a chance in any interview or otherwise if I just go with the course-ware. On Thu, Nov 24, 2011 at 11:18 PM, Yehuda Katz wrote: > On Thu, Nov 24, 2011 at 12:44 PM,