Edit httpd.conf


(Michele Bortolotto) #1

how can i edit httpd.conf to add a listen port ?(in the develp manual i have not finded the part for apache)


(Alessio Fattorini) #2

@davidep do you have just two minutes to help this guy? He’s a nice guy…


(Michele Bortolotto) #3

I’ve to add a vhost conf for observium… and i’ve to write the installation howto


(Davide Principi) #4

You could add a .conf file under /etc/httpd/conf.d. They are included before nethserver.d/ ones.


(Michele Bortolotto) #5

@davidep i’ve added observium.conf in the conf.d directory but i’ve no new listen port

this is the onservium.conf file

<VirtualHost *:9980>
  DocumentRoot /opt/observium/html/
  CustomLog /opt/observium/logs/access_log combined
  ErrorLog /opt/observium/logs/error_log
  <Directory "/opt/observium/html/">
  AllowOverride All
  Options FollowSymLinks MultiViews
  </Directory>
  </Virtualhost>

(Davide Principi) #6

It should be allowed to add a Listen line before <VirtualHost *:9980>.

http://httpd.apache.org/docs/2.2/bind.html