Forum Moderators: phranque
./configure --prefix=/www --exec-prefix=/www --libexecdir=/www/libexec --enable-module=rewrite --enable-module=usertrack --enable-module=vhost-alias --enable-module=proxy --enable-module=vhost_alias --enable-module=so --enable-module=access --enable-module=dir
Yet, I am unable to restart the apache and get the following error when I test the new config.
/www/bin/apachectl configtest
Syntax error on line 287 of /www/conf/httpd.conf:
<Directory not allowed here
Could anyone kindly advise?
From the Apache core documentation [httpd.apache.org]:
Context: server config, virtual host
This means that <directory> must appear in the main server configuration or within a <VirtualHost> section of httpd.conf. It may not appear within other containers, such as <Directory>, <Location>, <Limit>, etc.
Jim