aboutsummaryrefslogtreecommitdiffstats
path: root/fap/httpd/README.md
blob: 73c563492b7466d0c60f911367061e1966f45131 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# HTTPD

Well, not working out quite as I've hoped (at least for now).

Resorted to Apache2, PHP and Postgres for the HTTP. Apache starts at boot, so no action required to get the stack up and after installation.

```
j@lappie:~/git/tgmanage$ cat /etc/apache2/sites-enabled/000-default.conf
<VirtualHost *:80>
        ServerAdmin webmaster@localhost

        DocumentRoot /home/j/git/tgmanage/fap/httpd/httpd_root/

        <Directory /home/j/git/tgmanage/fap/httpd/httpd_root>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>

	ErrorLog ${APACHE_LOG_DIR}/error.log
	LogLevel warn

	CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
```