![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
This should work :
<VirtualHost *:8080> ServerAdmin webmaster@localhost DocumentRoot /opt/observium/html <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /opt/observium/html/> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> ErrorLog ${APACHE_LOG_DIR}/error.log LogLevel warn CustomLog ${APACHE_LOG_DIR}/access.log combined ServerSignature On </VirtualHost>
On 29/07/2015 17:47:49, Federico Olivieri lvrfrc87@gmail.com wrote: No I cant.
Can you just confirm if the apache configuration it is fine and or if I have to change something else??
Thank you!!!
Federico
2015-07-29 17:44 GMT+01:00 Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]>:
Hmm. I'm not sure. Can you reach it from the server itself?
links http://localhost:8080 [http://localhost:8080]
You might need to install links (or lynx)
adam. On 29/07/2015 17:43:35, Federico Olivieri <lvrfrc87@gmail.com [mailto:lvrfrc87@gmail.com]> wrote: Thanks Adam for your reply. I removed the comment form the conf and know it is active on port 8080
However if I try to connect at the port I receive connection refused.
I create a iptable rule but I still have the problem
ACCEPT tcp -- anywhere anywhere tcp dpt:http-alt
Any Idea?
2015-07-29 17:23 GMT+01:00 Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]>:
Hi Frederico,
You need to make a name, ip or port based virtual host.
The section you have commented out at the bottom seems like it would work to allow you to access Observium on port 8080.
adam. On 29/07/2015 17:17:38, Federico Olivieri <lvrfrc87@gmail.com [mailto:lvrfrc87@gmail.com]> wrote: Hi All,
I was running OBSERVIUM as only service on my Apache configuration and it was fine. However I needed to add another software via web interface and I roll backe the Apache configuration..
From that point I m not able anymore to access to OBSERVIUM (as aspected)
I tried http://ipaddrress/opt/observium/ [http://ipaddrress/opt/observium/] but it doesn t work.
That s my conf. How can I run 2 web interface via Apache?
<VirtualHost *:80> ServerAdmin webmaster@localhost
DocumentRoot /var/www <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /var/www/> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all </Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn
CustomLog /var/log/apache2/access.log combined
Alias /doc/ "/usr/share/doc/" <Directory "/usr/share/doc/"> Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 [http://127.0.0.0/255.0.0.0] ::1/128 </Directory> </VirtualHost>
#<VirtualHost *:8080> # DocumentRoot /opt/observium/html/ # ServerName observium.domain.com [http://observium.domain.com] # CustomLog /opt/observium/logs/access_log combined # ErrorLog /opt/observium/logs/error_log # <Directory "/opt/observium/html/"> # AllowOverride All # Options FollowSymLinks MultiViews # </Directory>
_______________________________________________ observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium