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

2014-02-22 Thread Marcello Lorenzi
.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

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 http:

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

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

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

2014-02-22 Thread CWSSupport - Marcello Lorenzi
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

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/(.*)$ /var/www/pe

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 >

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 -