On Saturday 21 May 2016 14:10:53 Michael Orlitzky wrote: > On 05/21/2016 01:11 PM, Mick wrote:
> I had to also replace in the config all vhosts "Order deny,allow" > > > directives with the new syntax. > > You can keep compatibility with the old syntax (if you need to) with > APACHE2_MODULES="access_compat". If you're installing third-party web > apps, many of them will ship with apache-2.2 htaccess files containing > those "Order allow,deny" lines. Without the compatibility module (and if > you don't fix them yourself), you'll get 500 errors. Yes, I've already experienced this with some old(er) drupal 7 websites. Although I've edited their .htaccess files with the new syntax, there are umpteen hardcoded php files in there which had the old syntax and/or run checks for it. I tried setting APACHE2_MODULES="access_compat" in make.conf and I got this conflict: =========================================================== WARNING: One or more updates/rebuilds have been skipped due to a dependency conflict: www-servers/apache:2 (www-servers/apache-2.4.20:2/2::gentoo, ebuild scheduled for merge) conflicts with >=www-servers/apache-2.4[apache2_modules_unixd,-threads] required by (dev- lang/php-5.5.35:5.5/5.5::gentoo, installed) ^^^^^^^^^^^^^^^^^^^^^ >=www-servers/apache-2.4[apache2_modules_unixd,-threads] required by (dev- lang/php-5.6.21:5.6/5.6::gentoo, installed) ^^^^^^^^^^^^^^^^^^^^^ www-servers/apache[apache2_modules_dir] required by (app-eselect/eselect- php-0.9.1:0/0::gentoo, installed) ^^^^^^^^^^^^^^^^^^^ Nothing to merge; quitting. =========================== eselect has USE=apache2 set, but I don't really understand the difference or why they clash. :-/ -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.