Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: "AllowOverride FileInfo" locations? |
|
Author |
|
wwarren
Joined: 01 Jul 2014 Posts: 2
|
Posted: Wed 02 Jul '14 17:24 Post subject: "AllowOverride FileInfo" locations? |
|
|
I have apache 2.2.22 running on Ubuntu 12.04 and I'm migrating to a new system running apache 2.4.7 on Ubuntu 14.04. Somewhere on the old setup (originally done about 6 years ago), I apparently have a single "AllowOverride FileInfo" that is covering several virtual servers, but I can't find it. To get the same websites to work on the new system, I've had to put "AllowOverride FileInfo" into the directives for each individual virtual server. I can't find any differences between the httpd.conf files in the two systems, in fact they're copies of each other. Where else might I look for that single "AllowOverride" that is catching all my virtual servers on the old system? Or is there a difference between the 2.2.22 and 2.4.7 versions that would explain this?
[Update: Here's a little more info. On the new install's httpd.conf file, if I put the "allowoverride fileinfo" is for <directory /var/www/blog1> the blog1 links work. If it's in <directory /var/www> they don't, even though that's supposed to be recursive isn't it? My virtual servers for the older install have no references to allowoverride all or fileinfo, anywhere at all in httpd.conf or apache2.conf, yet the .htaccess files in all directories get read.] |
|
Back to top |
|
wwarren
Joined: 01 Jul 2014 Posts: 2
|
Posted: Wed 02 Jul '14 21:41 Post subject: |
|
|
Solved
I found a reference to /var/www in apache2.conf with "AllowOverride None" in it, which was apparently overriding the same thing in httpd.conf with "AllowOverride FileInfo". |
|
Back to top |
|
|
|
|
|
|