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 (Mac

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

2006-09-07 Thread Norman Khine
rs@httpd.apache.org > Subject: Re: [EMAIL PROTECTED] Dynamic RewriteRule based on the URL > > > On 9/7/06, Norman Khine <[EMAIL PROTECTED]> wrote: > > >> [1] >> >> [2]ServerName domain.tld >> [3]RewriteEngine on >> [4]RewriteCo

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] >> >> [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 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 Joshua Slive
On 9/7/06, Norman Khine <[EMAIL PROTECTED]> wrote: [1] [2]ServerName domain.tld [3]RewriteEngine on [4]RewriteCond %{*HTTP_HOST*}*[^.]+*\.domain\.tld$ [5]RewriteRule ^(.+) %{HTTP_HOST}$1[C] [6]RewriteRule *([^.]+)*\.domain\.tl

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 Re

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$ Rewr

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

2006-09-06 Thread Norman Khine
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 >> >> He

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

2006-09-06 Thread Boyle Owen
> -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 Apache

[EMAIL PROTECTED] Dynamic RewriteRule based on the URL

2006-09-06 Thread Norman Khine
Hello, Is it possible to create an Apache Rewrite rule so that the depending on the sub-domain the server receives it is then re-written to a different folder, for example, I have this working but want to reduce it to just one rule: ServerName folder_A.domain.tld RewriteEngine On Rew