Re: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL

2006-09-07 Thread Norman Khine
Norman Khine wrote: Boyle Owen wrote: -Original Message- From: Norman Khine [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 06, 2006 9:23 AM To: users@httpd.apache.org Subject: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL Hello, Is it possible to create an

Re: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL

2006-09-07 Thread Joshua Slive
On 9/7/06, Norman Khine [EMAIL PROTECTED] wrote: [1] VirtualHost *:80 [2]ServerName domain.tld [3]RewriteEngine on [4]RewriteCond %{*HTTP_HOST*}*[^.]+*\.domain\.tld$ [5]RewriteRule ^(.+) %{HTTP_HOST}$1[C] [6]RewriteRule

RE: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL

2006-09-07 Thread Arjun Datta
. Is this true ? Regards, Arjun -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Joshua Slive Sent: Thursday, September 07, 2006 9:36 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL On 9/7/06, Norman Khine

Re: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL

2006-09-07 Thread Norman Khine
Joshua Slive wrote: On 9/7/06, Norman Khine [EMAIL PROTECTED] wrote: [1] VirtualHost *:80 [2]ServerName domain.tld [3]RewriteEngine on [4]RewriteCond %{*HTTP_HOST*}*[^.]+*\.domain\.tld$ [5]RewriteRule ^(.+) %{HTTP_HOST}$1[C]

Re: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL

2006-09-07 Thread Norman Khine
(default) returns the content. Is this true ? Regards, Arjun -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Joshua Slive Sent: Thursday, September 07, 2006 9:36 AM To: users@httpd.apache.org Subject: Re: [EMAIL PROTECTED] Dynamic RewriteRule based

Re: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL

2006-09-07 Thread Joshua Slive
On 9/7/06, Norman Khine [EMAIL PROTECTED] wrote: Hi no this did not work, I have this Apache error in the logs [Thu Sep 07 00:51:50 2006] [error] [client 192.168.4.90] File does not exist: /usr/htdocs And on the access_log I get the 404 Error -- GET / HTTP/1.1 404 270 - Mozilla/5.0

Re: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL

2006-09-06 Thread Joshua Slive
On 9/6/06, Norman Khine [EMAIL PROTECTED] wrote: Thanks for your reply, I was looking at the http://httpd.apache.org/docs/2.2/misc/rewriteguide.html documentation and perhaps something like this may work... RewriteEngine on RewriteCond %{*HTTP_HOST*} *[^.]+*\.host\.com$