Re: [users@httpd] Problem .htaccess

2015-03-07 Thread jeffmonte101 .
Wilmer, You would need to explain what you are trying to achieve here. Do you mean you wish to have two set of rewrite rules handling requsts for 1. localhost and 2.everything else? Have you tried using RewriteCond? On Sun, Mar 8, 2015 at 6:56 AM, Wilmer Arambula < tecnologiaterab...@gmail.com>

[users@httpd] Problem .htaccess

2015-03-07 Thread Wilmer Arambula
Hi, I have the following .htaccess file: # if a directory or a file exists, use the request directly # otherwise forward the request to index.php RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . index.php when the host is equal to localhost RewriteRule . index

Re: [users@httpd] Example Apache reverse proxy configuration for HTTPS frontend and several HTTP backends

2015-03-07 Thread Igor Cicimov
On 08/03/2015 10:01 AM, "A M" wrote: > > > Hello experts, > > I am trying to set up a classical frontend HTTPS Apache Reverse Proxy > for a couple of plain backend HTTP servers sitting on a backend private > network. The plaform is Centos 6, the Apache rpm is httpd-2.2.15-39.el6.centos. > > I firs

[users@httpd] Example Apache reverse proxy configuration for HTTPS frontend and several HTTP backends

2015-03-07 Thread A M
Hello experts, I am trying to set up a classical frontend HTTPS Apache Reverse Proxy for a couple of plain backend HTTP servers sitting on a backend private network. The plaform is Centos 6, the Apache rpm is httpd-2.2.15-39.el6.centos. I first created three DNS entries, all pointing to the same