1 |
On Saturday 21 May 2016 14:10:53 Michael Orlitzky wrote: |
2 |
> On 05/21/2016 01:11 PM, Mick wrote: |
3 |
|
4 |
> I had to also replace in the config all vhosts "Order deny,allow" |
5 |
> |
6 |
> > directives with the new syntax. |
7 |
> |
8 |
> You can keep compatibility with the old syntax (if you need to) with |
9 |
> APACHE2_MODULES="access_compat". If you're installing third-party web |
10 |
> apps, many of them will ship with apache-2.2 htaccess files containing |
11 |
> those "Order allow,deny" lines. Without the compatibility module (and if |
12 |
> you don't fix them yourself), you'll get 500 errors. |
13 |
|
14 |
Yes, I've already experienced this with some old(er) drupal 7 websites. |
15 |
Although I've edited their .htaccess files with the new syntax, there are |
16 |
umpteen hardcoded php files in there which had the old syntax and/or run |
17 |
checks for it. |
18 |
|
19 |
I tried setting APACHE2_MODULES="access_compat" in make.conf and I got this |
20 |
conflict: |
21 |
=========================================================== |
22 |
WARNING: One or more updates/rebuilds have been skipped due to a dependency |
23 |
conflict: |
24 |
|
25 |
www-servers/apache:2 |
26 |
|
27 |
(www-servers/apache-2.4.20:2/2::gentoo, ebuild scheduled for merge) |
28 |
conflicts with |
29 |
>=www-servers/apache-2.4[apache2_modules_unixd,-threads] required by (dev- |
30 |
lang/php-5.5.35:5.5/5.5::gentoo, installed) |
31 |
^^^^^^^^^^^^^^^^^^^^^ |
32 |
>=www-servers/apache-2.4[apache2_modules_unixd,-threads] required by (dev- |
33 |
lang/php-5.6.21:5.6/5.6::gentoo, installed) |
34 |
^^^^^^^^^^^^^^^^^^^^^ |
35 |
www-servers/apache[apache2_modules_dir] required by (app-eselect/eselect- |
36 |
php-0.9.1:0/0::gentoo, installed) |
37 |
^^^^^^^^^^^^^^^^^^^ |
38 |
|
39 |
Nothing to merge; quitting. |
40 |
=========================== |
41 |
|
42 |
eselect has USE=apache2 set, but I don't really understand the difference or |
43 |
why they clash. :-/ |
44 |
|
45 |
-- |
46 |
Regards, |
47 |
Mick |