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$ [NC]

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 uh...@fantomas.sk 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.

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

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

[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 .+

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 mightydre...@gmail.com 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

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 mightydre...@gmail.com 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

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 cove...@gmail.com 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

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 tevans...@googlemail.com wrote: On Tue, Jun 15, 2010 at 2:19 PM, Eric Covener cove...@gmail.com 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

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 cove...@gmail.com 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

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 mightydre...@gmail.com wrote: On Tue, Jun 15, 2010 at 6:49 PM, Eric Covener cove...@gmail.com 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

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

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 mightydre...@gmail.com 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

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 tevans...@googlemail.com 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

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 mightydre...@gmail.com wrote: On Tue, Jun 15, 2010 at 8:16 PM, Tom Evans tevans...@googlemail.com 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