Edit httpd.conf

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

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

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

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

2 Likes

@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>

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

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

1 Like