Re: [us...@httpd] Re: help with rewrites - changing the base path [RESOLVED]

2008-12-29 Thread Matthew Sacks
> RewriteRule /(.*)$ http://www.foo.com/$1 [R=301] Andre, you've hit it on the nose here. Thank you and the List. On Mon, Dec 29, 2008 at 2:53 PM, André Warnier wrote: > Hi. > > Am I interpreting this correctly, that the .htaccess file you are talking > about, is the one that is in the original

Re: [us...@httpd] Re: help with rewrites - changing the base path

2008-12-29 Thread Eric Covener
On Mon, Dec 29, 2008 at 5:53 PM, André Warnier wrote: > Hi. > > Am I interpreting this correctly, that the .htaccess file you are talking > about, is the one that is in the original /techblog location ? > > If so, and without taking my word for it, isn't it so for a RewriteRule that > is in a .hta

Re: [us...@httpd] Re: help with rewrites - changing the base path

2008-12-29 Thread André Warnier
Hi. Am I interpreting this correctly, that the .htaccess file you are talking about, is the one that is in the original /techblog location ? If so, and without taking my word for it, isn't it so for a RewriteRule that is in a .htaccess file in such a location "/techblog", that the original U

Re: [us...@httpd] Re: help with rewrites - changing the base path

2008-12-29 Thread Bob Ionescu
2008/12/29 Matthew Sacks : > I cleared all rewrites so all I have is the following: > RewriteRule ^/techblog(.*)$ http://www.foo.com/$1 [R=301] If you're using this in per-dir context (e.g. in .htaccess files) reachable via http://www.example.com/.htaccess, strip the leading slash of the pattern:

[us...@httpd] Re: help with rewrites - changing the base path

2008-12-29 Thread Matthew Sacks
I cleared all rewrites so all I have is the following: RewriteRule ^/techblog(.*)$ http://www.foo.com/$1 [R=301] I want http://www.bar.com/techblog/thisfile.html to be redirected to http://www.foo.com/thisfile.html I cant seem to get this to work. all I get is 404 On Mon, Dec 15, 2008 at 2:54

Re: [us...@httpd] Issue in apache service

2008-12-29 Thread Evan Platt
Ok.. and for the third time, what happens if you telnet to whatever port the web server is operating on when this happens? You may want to consider upgrading. 2.0.59 is at least a year old, if I'm not mistaken. vadi raj wrote: Sorry , mention all the detail bellow. Red Hat Enterprise Linux

Re: [us...@httpd] Issue in apache service

2008-12-29 Thread vadi raj
Sorry , mention all the detail bellow. Red Hat Enterprise Linux AS release 4 (Nahant Update 5) Linux 2.6.9-55.0.2.ELsmp #1 SMP Tue Jun 12 17:59:08 EDT 2007 i686 athlon i386 GNU/Linux Apache/2.0.59 (Unix) mod_ssl/2.0.59 OpenSSL/0.9.8d PHP/4.4.4 --- On Mon, 12/29/08, Evan Platt wrote: > From:

[us...@httpd] sethandler server-status

2008-12-29 Thread Andre Hübner
Hello, im looking for a way to disable the posibility for users to activate a server-status page within own virtual host. For now it is enough to add a .htaccess with content sethandler server-status i do not want that my users can see all what happens at apache-traffic. i can just only hide

Re: [us...@httpd] Issue in apache service

2008-12-29 Thread Evan Platt
As I asked before... What operating system? > > On the local machine, when this happens, what happens if you telnet to port > > 80 (assuming you are running on port 80)? > > > > vadi raj wrote: Dear All, Thanks for your kind response. I request you peoples to tell me what are t