Is there some security restriction preventing apache2 from listening on a high port?
1
vote
2
answers
83
views
I have configured an Apache2 virtual host to listen on a port above port 80, 8011 in this case.
apachectl configtest
returns no error in regards on the usage of the high port, yet netstat indicates the port is not in use and telneting to the IP address shows it is not in use. The Apache log generates no logs. Here is the virtual host configuration. As far as I can tell using port 8011 should work as there is nothing listening on it, yet Apache2 seems to ignore it completely. Could there be some apparmor
or SELinux
configuration stopping it? Is the virtual host failing to load? If it is failing then apache2 is not logging an error.
ServerName lazrepos.ho.local
ServerAlias util01.lazrepos.ho.local lazrepos.br.local util01.lazrepos.br.local util01.lazrepos.local lazvbox.local
ServerAdmin webmaster@localhost
DocumentRoot /home/lazrepos/repos/svn
DirectoryIndex index.html
Require all granted
AddHandler cgi-script .cgi .pl
Options +ExecCGI
Order allow,deny
Allow from all
ScriptAlias /viewvc /home/lazrepos/repos/cgi/viewvc/bin/cgi/viewvc.cgi
ScriptAlias /query /home/lazrepos/repos/cgi/viewvc/bin/cgi/query.cgi
ErrorLog /home/lazrepos/sites/lazrepos/www/logs/apache2/error.log
CustomLog /home/lazrepos/sites/lazrepos/www/logs/apache2/access.log combined
# For most configuration files from conf-available/, which are
# enabled or disabled at a global level, it is possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it has been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
LoadModule dav_module modules/mod_dav.so
LoadModule dav_svn_module modules/mod_dav_svn.so
DAV svn
SVNParentPath /home/lazrepos/repos/svn/fpc_laz
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Asked by vfclists
(7909 rep)
Feb 20, 2017, 08:10 PM
Last activity: Feb 26, 2017, 03:01 PM
Last activity: Feb 26, 2017, 03:01 PM