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
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
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]
. 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
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
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
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
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
> -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
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
10 matches
Mail list logo