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. |