Re: [us...@httpd] rewrite rule tutorial on ask apache I could not understand syntax

2010-06-21 Thread Tapas Mishra
On Mon, Jun 21, 2010 at 1:14 PM, Matus UHLAR - fantomas wrote: > can you tell usa what are you trying to do? I am trying to understand what ever was written on tutorial. Nothing else.Since I could not understand so I posted. - T

Re: [us...@httpd] rewrite rule tutorial on ask apache I could not understand syntax

2010-06-21 Thread Matus UHLAR - fantomas
On 15.06.10 18:12, Tapas Mishra wrote: > http://http://www.askapache.com/htaccess/crazy-advanced-mod_rewrite-tutorial.html > > is a link to a tutorial which mentions following use of ReWriteRule is wrong. > > RewriteEngine On > RewriteBase / > > RewriteCond %{HTTP_HOST} !^www\.askapache\.com$ [

Re: [us...@httpd] rewrite rule tutorial on ask apache I could not understand syntax

2010-06-20 Thread Tapas Mishra
Hi,Tom and Rich thanks for your links.Can you provide any more link as what exactly can I do more with Apache. I have hosted websites and know some bit of reverse proxy etc. >From this discussion I got curiosity to understand the hooking process of apache.Can you provide me some links which you fee

Re: [us...@httpd] rewrite rule tutorial on ask apache I could not understand syntax

2010-06-16 Thread Rich Bowen
On Jun 15, 2010, at 8:42 AM, Tapas Mishra wrote: http://http://www.askapache.com/htaccess/crazy-advanced-mod_rewrite-tutorial.html is a link to a tutorial which mentions following use of ReWriteRule is wrong. Anything found on askapache.com should be taken with a great deal of skepticism

Re: [us...@httpd] rewrite rule tutorial on ask apache I could not understand syntax

2010-06-15 Thread Tom Evans
On Tue, Jun 15, 2010 at 3:56 PM, Tapas Mishra wrote: > On Tue, Jun 15, 2010 at 8:16 PM, Tom Evans wrote: >> >> I dont understand what you are asking? - the reply comes from apache. > I could not understand I am newcomer to apache.I have used Reverse > Proxy and other settings but do not completel

Re: [us...@httpd] rewrite rule tutorial on ask apache I could not understand syntax

2010-06-15 Thread Tapas Mishra
On Tue, Jun 15, 2010 at 8:16 PM, Tom Evans wrote: > > I dont understand what you are asking? - the reply comes from apache. I could not understand I am newcomer to apache.I have used Reverse Proxy and other settings but do not completely understand it. So trying to understand how apache behaves wh

Re: [us...@httpd] rewrite rule tutorial on ask apache I could not understand syntax

2010-06-15 Thread Tom Evans
On Tue, Jun 15, 2010 at 3:41 PM, Tapas Mishra wrote: >> >> HTTP/1.0 clients do not send a Host header in the request >>  => no host information can be inferred from a request >>  => HTTP_HOST will be empty. > but if HTTP_HOST is empty then from where is the reply coming from ? > I dont understand

Re: [us...@httpd] rewrite rule tutorial on ask apache I could not understand syntax

2010-06-15 Thread Tapas Mishra
> > HTTP/1.0 clients do not send a Host header in the request >  => no host information can be inferred from a request >  => HTTP_HOST will be empty. but if HTTP_HOST is empty then from where is the reply coming from ? -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/X

Re: [us...@httpd] rewrite rule tutorial on ask apache I could not understand syntax

2010-06-15 Thread Tom Evans
On Tue, Jun 15, 2010 at 3:33 PM, Tapas Mishra wrote: > On Tue, Jun 15, 2010 at 6:49 PM, Eric Covener wrote: > >> *) You Should not redirect if HTTP_HOST is empty, for HTTP/1.0 >> clients, or you might loop. > >  I could not understand your statement HTTP_HOST empty can you be a > bit explanatory.

Re: [us...@httpd] rewrite rule tutorial on ask apache I could not understand syntax

2010-06-15 Thread Tapas Mishra
On Tue, Jun 15, 2010 at 6:49 PM, Eric Covener wrote: > *) You Should not redirect if HTTP_HOST is empty, for HTTP/1.0 > clients, or you might loop. I could not understand your statement HTTP_HOST empty can you be a bit explanatory.It will help newbies like me. -- Tapas http://mightydreams.blo

Re: [us...@httpd] rewrite rule tutorial on ask apache I could not understand syntax

2010-06-15 Thread Eric Covener
On Tue, Jun 15, 2010 at 9:39 AM, Tom Evans wrote: > On Tue, Jun 15, 2010 at 2:19 PM, Eric Covener wrote: >> Who can guess if that silly page meant either of these subtle issues >> with the recipe: >> >> *) ".+" in .htaccess won't match a request for "/", but I doubt that's >> the operative part o

Re: [us...@httpd] rewrite rule tutorial on ask apache I could not understand syntax

2010-06-15 Thread Tom Evans
On Tue, Jun 15, 2010 at 2:19 PM, Eric Covener wrote: > Who can guess if that silly page meant either of these subtle issues > with the recipe: > > *) ".+" in .htaccess won't match a request for "/", but I doubt that's > the operative part of the exercise. > *) You Should not redirect if HTTP_HOST

Re: [us...@httpd] rewrite rule tutorial on ask apache I could not understand syntax

2010-06-15 Thread Eric Covener
On Tue, Jun 15, 2010 at 8:42 AM, Tapas Mishra wrote: > http://http://www.askapache.com/htaccess/crazy-advanced-mod_rewrite-tutorial.html > >  is a link to a tutorial which mentions following use of ReWriteRule is wrong. > > RewriteEngine On > RewriteBase / > > RewriteCond %{HTTP_HOST} !^www\.askap

Re: [us...@httpd] rewrite rule tutorial on ask apache I could not understand syntax

2010-06-15 Thread Tom Evans
On Tue, Jun 15, 2010 at 1:42 PM, Tapas Mishra wrote: > http://http://www.askapache.com/htaccess/crazy-advanced-mod_rewrite-tutorial.html > >  is a link to a tutorial which mentions following use of ReWriteRule is wrong. > > RewriteEngine On > RewriteBase / > > RewriteCond %{HTTP_HOST} !^www\.askap

[us...@httpd] rewrite rule tutorial on ask apache I could not understand syntax

2010-06-15 Thread Tapas Mishra
http://http://www.askapache.com/htaccess/crazy-advanced-mod_rewrite-tutorial.html is a link to a tutorial which mentions following use of ReWriteRule is wrong. RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} !^www\.askapache\.com$ [NC] RewriteRule .+ http://www.askapache.com%{REQUEST_UR