captive: Log into default apache log files
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 4 Sep 2016 08:25:41 +0000 (09:25 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Fri, 22 Sep 2017 17:54:45 +0000 (18:54 +0100)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/httpd/vhosts.d/captive.conf
lfs/apache2

index 0824b79..c6daf79 100644 (file)
@@ -2,9 +2,6 @@ Listen 1013
 
 <VirtualHost *:1013>
        DocumentRoot /srv/web/ipfire/html/captive
-       ServerAdmin alexander.marx@oab.de
-       ErrorLog /var/log/httpd/captive/error_log
-       TransferLog /var/log/httpd/captive/access_log
 
        <Directory /srv/web/ipfire/html/captive>
                Options ExecCGI
index 1e6f016..c66f3c3 100644 (file)
@@ -120,9 +120,6 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cp -rf $(DIR_CONF)/httpd/* /etc/httpd/conf
        ln -sf $(CONFIG_ROOT)/main/hostname.conf /etc/httpd/conf/
 
-       # Create logdir for captive-portal
-       mkdir -pv /var/log/httpd/captive
-       
        # Create logodir for captive portal
        mkdir -pv /srv/web/ipfire/html/captive/logo
        chown nobody.nobody  /srv/web/ipfire/html/captive/logo