Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: [gentoo-user] How to set up a website
Date: Thu, 19 Mar 2020 17:20:41
Message-Id: 3056377.aeNJFYEL58@peak
1 Hello list,
2
3 I want to set up a web server on a local box, and I'm following the Gentoo
4 guide[1]. I'd like two sites: one under /var/www/localhost and the other under
5 /var/www/mydomain, in which mydomain is registered to me.
6
7 The main problem I'm having is that all the Gentoo documents I've found assume
8 far too much familiarity with apache. I've installed NextCloud using webapp-
9 config; this is the layout:
10
11 $ tree -L 3 /var/www
12 /var/www
13 ├── localhost
14 │ └── htdocs
15 │ ├── fcgid-bin
16 │ ├── index.orig
17 │ └── index.php
18 └── mydomain
19 ├── cgi-bin
20 ├── error
21 ├── htdocs
22 │ ├── cloud
23 │ ├── fcgid-bin
24 │ ├── index.orig
25 │ └── index.php
26 └── icons
27
28 Is this a suitable layout? Once I get past this I may be asking for help with
29 /etc/apache2/vhosts.d/* .
30
31 1. https://wiki.gentoo.org/wiki/Apache
32
33 --
34 Regards,
35 Peter.

Replies

Subject Author
Re: [gentoo-user] How to set up a website "J. Roeleveld" <joost@××××××××.org>