1 |
On Fri, Jun 8, 2012 at 11:01 AM, Peter Humphrey |
2 |
<peter@××××××××××××××.org> wrote: |
3 |
> Hi List, |
4 |
> |
5 |
> Is there a guide to setting up an Apache server on a Gentoo system? I'm |
6 |
> having difficulty getting the SSI module started; also the top-level |
7 |
> .htaccess file that comes from the production server Out There throws an |
8 |
> error on my local LAN server: "/home/prh/public_html/.htaccess: Options |
9 |
> not allowed here". |
10 |
> |
11 |
> I run a website whose pages all have the same menu bar below the title, |
12 |
> so to simplify maintenance of the 130 pages I've extracted that bit of |
13 |
> HTML into an included page. This works fine on the production server but |
14 |
> not on the local server. |
15 |
> |
16 |
> Of course there's lots of documentation of Apache on their site, but the |
17 |
> config on Gentoo differs from the standard and I find the Gentoo docs |
18 |
> unhelpful - they seem to assume a good working knowlege of Apache and |
19 |
> just show the differences from other setups. |
20 |
|
21 |
What version are you on? Are both servers running the same version? |
22 |
Apache 2.4 had some dramatic changes to module names and some |
23 |
configuration names were changed, it caused my previously-working-fine |
24 |
2.2 to stop working. I haven't had time to go through it all yet, so |
25 |
for now I've masked it and gone back to 2.2. See here for the upgrade |
26 |
guide: https://httpd.apache.org/docs/2.4/upgrading.html |
27 |
|
28 |
The most confusing/frustrating thing with Apache and trying to Google |
29 |
for information is that the configuration changes so much from one |
30 |
version to another, and often times the article doesn't mention which |
31 |
specific version they are talking about (I still encounter a lot of |
32 |
tutorials from Apache 1.x). There are also differences depending on |
33 |
whether you're using virtual hosts or not, chroots, distro-specific |
34 |
stuff like webapp-config. |
35 |
|
36 |
If you want help with the specific error I would suggest posting the |
37 |
contents of the .htaccess file and which version of Apache you're |
38 |
using. |