Re: [users@httpd] AH00664: RewriteOptions: MaxRedirects option has been removed in favor of the global LimitInternalRecursion directive and will be ignored.

2018-03-01 Thread Eric Covener
On Thu, Mar 1, 2018 at 1:48 PM, Ray Jender wrote: > I previously sent this same email but from another email address that is not > associated with users@httpd.apache.org, so I thought I’d send it again. > > ‘ > > > > PHP 7.0.25-0ubuntu0.16.04.1 (cli) ( NTS ) > > > > Server version: Apache/2.4.18 (

[users@httpd] AH00664: RewriteOptions: MaxRedirects option has been removed in favor of the global LimitInternalRecursion directive and will be ignored.

2018-03-01 Thread Ray Jender
I previously sent this same email but from another email address that is not associated with users@httpd.apache.org , so I thought I'd send it again. ' PHP 7.0.25-0ubuntu0.16.04.1 (cli) ( NTS ) Server version: Apache/2.4.18 (Ubuntu) Server built: 2017-09-

Re: [users@httpd] Apache Rewrite (mod_rewrite) cannot rewrite, if directory name is lib, var, etc, on Linux

2018-03-01 Thread CHÉN Zhé 陈喆
Wow, it worked! Amazing! The use of [PT] should be included in almost every tutorial and examples of Apache Rewrite. Most tutorials I have read use URI, not absolute paths. They all should add [PT] to avoid such issues and to reduce time wasted on checking file system first. Thank you! Your solu

Re: [users@httpd] Apache Rewrite (mod_rewrite) cannot rewrite, if directory name is lib, var, etc, on Linux

2018-03-01 Thread Eric Covener
mod_rewrite has a design problem where it tries to guess if you're rewriting to a URL or a local Path by looking at the first segment of your substitution. If it exists in the filesystem it uses it as a path. If it doesn't, it prepends the document root. I believe simply adding the [PT] flag will

[users@httpd] Apache Rewrite (mod_rewrite) cannot rewrite, if directory name is lib, var, etc, on Linux

2018-03-01 Thread CHÉN Zhé 陈喆
The root directory of my website is: /var/www/html/www So there is such a line in my 000-default.conf: DocumentRoot /var/www/html/www I have directories under the document root directory. The full path of the directories are: /var/www/html/www/img /var/www/html/www/lib There a