RE: [users@httpd] Rewrite all to DocRoot

2014-02-22 Thread Darren Ward (darrward)
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/(.*)$

[users@httpd] R: RE: [users@httpd] Rewrite all to DocRoot

2014-02-22 Thread CWSSupport - Marcello Lorenzi
@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 any examples on using conditional statements

Re: [users@httpd] R: RE: [users@httpd] Rewrite all to DocRoot

2014-02-22 Thread Darren Ward (darrward)
:33:21 To: users@httpd.apache.orgusers@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 that doesn't match a couple of specific requests to the root

Re: [users@httpd] R: RE: [users@httpd] Rewrite all to DocRoot

2014-02-22 Thread Didier Spaier
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

Re: [users@httpd] R: RE: [users@httpd] Rewrite all to DocRoot

2014-02-22 Thread Marcello Lorenzi
@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 that doesn't match a couple of specific requests to the root index.html of the virtual server but I can't find any

[users@httpd] Rewrite all to DocRoot

2014-02-13 Thread Darren Ward (darrward)
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

Re: [users@httpd] Rewrite all to DocRoot

2014-02-13 Thread Eric Covener
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

RE: [users@httpd] Rewrite all to DocRoot

2014-02-13 Thread Darren Ward (darrward)
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