.org
Reply-to: users@httpd.apache.org
Subject: RE: [users@httpd] Rewrite all to DocRoot
Hi Guys
I'm still struggling with the AliasMatch
I need to redirect everything that doesn't match a couple of specific requests
to the root index.html of the virtual server but I can't find
On 22/02/2014 10:10, CWSSupport - Marcello Lorenzi wrote:
Hi Darren,
You can try to implement it with rewrite rules or rewrite map.
Did you already try with mod_rewrite?
And you can use [S] and/or [L] (and/or [END] in Apache 2.4) flags of
RewriteRule to implement conditional jumps.
See http:
rd (darrward)"
> Date: Sat, 22 Feb 2014 08:33:21
> To: users@httpd.apache.org
> Reply-to: users@httpd.apache.org
> Subject: RE: [users@httpd] Rewrite all to DocRoot
>
> Hi Guys
>
> I'm still struggling with the AliasMatch
>
> I need to redirect everything
sers@httpd] Rewrite all to DocRoot
Hi Guys
I'm still struggling with the AliasMatch
I need to redirect everything that doesn't match a couple of specific requests
to the root index.html of the virtual server but I can't find any examples on
using conditional statements
For example I ha
Hi Guys
I'm still struggling with the AliasMatch
I need to redirect everything that doesn't match a couple of specific requests
to the root index.html of the virtual server but I can't find any examples on
using conditional statements
For example I have:
AliasMatch /perl/(.*)$ /var/www/pe
I just realised that I need to exclude the perl directory so I can runs scripts
in the index.html?
-Original Message-
From: Eric Covener [mailto:cove...@gmail.com]
Sent: Friday, 14 February 2014 12:12 AM
To: users@httpd.apache.org
Subject: Re: [users@httpd] Rewrite all to DocRoot
>
> On each of these virtual hosts I want a request for any URI to be sent to the
> document root default (/index.html or just /)
>
> What the best way to do this per virtual host?
I usually use:
AliasMatch ^(.*)$ /fspath/to/index.html
-
Hi All
I'm sure this is a very easy question but I want to make sure I get it right
I have to run three virtual hosts on separate IP addresses for notification
messages (the reason is due to how the network kit does the redirection of
traffic)
On each of these virtual hosts I want a request f