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

2014-02-22 Thread Marcello Lorenzi
Hi Darren, I don't know your specific configuration but an ideal part of configuration can be this: DocumentRoot /www/docs/wifi-tc/ Alias/perl /var/www/perl Alias /success.html /www/docs/wifi-tc/library/test/success.html RewriteEngine On RewriteCond %{REQUEST_URI} !^/per

Re: [users@httpd] Running two different versions of httpd in same machine

2014-02-22 Thread Venkatesh Prabu Narayanan
Hi, Yes I know RHEL 4WS support ended. But please note that upgrading OS is not an option as of now. As we can't roll out OS upgrade to production immediately. Definitely we will do it later after development changes and regression testing. BTW, I want to know how to change the httpd.spec file fo

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)
Ciao Marcello No I haven't I'm coming back to Apache after a very long absence and starting from scratch so I'd be happy to get guidance on better ways to achieve the results I need I don't want to change the URL if possible but results are what counts :) Darren Sent from my iPad > On 22 Fe

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

2014-02-22 Thread CWSSupport - Marcello Lorenzi
Hi Darren, You can try to implement it with rewrite rules or rewrite map. Did you already try with mod_rewrite? -Original Message- From: "Darren Ward (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

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