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
Hello list,

I want to set up a web server on a local box, and I'm following the Gentoo 
guide[1]. I'd like two sites: one under /var/www/localhost and the other under 
/var/www/mydomain, in which mydomain is registered to me.

The main problem I'm having is that all the Gentoo documents I've found assume 
far too much familiarity with apache. I've installed NextCloud using webapp-
config; this is the layout:

$ tree -L 3 /var/www
├── localhost
│   └── htdocs
│       ├── fcgid-bin
│       ├── index.orig
│       └── index.php
└── mydomain
    ├── cgi-bin
    ├── error
    ├── htdocs
    │   ├── cloud
    │   ├── fcgid-bin
    │   ├── index.orig
    │   └── index.php
    └── icons

Is this a suitable layout? Once I get past this I may be asking for help with 
/etc/apache2/vhosts.d/* .




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