?
Solved

Webmin Apache upgrade ruined Trixbox site

Posted on 2011-03-12
3
Medium Priority
?
691 Views
Last Modified: 2012-05-11
I was doing an upgrade to Webmin and it upgraded Apache. Now i cant go to my administration service on port 80 for my trixbox. (they are on the same box) the phones work but the interface for management and configs is not accessible.

I believe it reset my virtual hosts etc... im new at the Apache thing and dont know much about it. Rather than mucking around to make things worst i thought id reach out for help. Does anyone know how the Apache config should look for Trixbox? the webmin site comes up fine on port 10000 so all is ok on that front...
0
Comment
Question by:mxrider_420
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 11

Expert Comment

by:jfaubiontx
ID: 35120334
Check your httpd config file has the link to trixbox in it. At the bottom of the /etc/httpd/conf/httpd.conf file you should have a line lie this:

Include /etc/trixbox/httpdconf/*

This allows the trixbox directories to be added to the config file.
0
 
LVL 1

Author Comment

by:mxrider_420
ID: 35122424
the end of mine includes all this:
is this correct?


<VirtualHost*:80>
Include /etc/trixbox/httpdconf/*
NameVirtualHost 192.168.1.70
<VirtualHost 192.168.1.70:80>
DocumentRoot "/etc/trixbox/httpdconf"
<Directory "/etc/trixbox/httpdconf">
allow from all
Options +Indexes
</Directory>
</VirtualHost>
0
 
LVL 11

Accepted Solution

by:
jfaubiontx earned 2000 total points
ID: 35123210
Nope. Change that to this:
=-=-=-=-=-= Cut Here =-=-=-=-=-=-=-=
#<VirtualHost *:80>
#    ServerAdmin webmaster@dummy-host.example.com
#    DocumentRoot /www/docs/dummy-host.example.com
#    ServerName dummy-host.example.com
#    ErrorLog logs/dummy-host.example.com-error_log
#    CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>

Include /etc/trixbox/httpdconf/*
=-=-=-=-=-= Cut Here =-=-=-=-=-=-=-=

Then make sure you have a trixbox.conf in the /etc/trixbox/httpdconf/ directory that has this:

=-=-=-=-=-= Cut Here =-=-=-=-=-=-=-=
#Password protect /var/www/html/admin
<Directory /var/www/html/admin>
   AuthType Basic
   AuthName "Restricted Area"
   AuthUserFile /usr/local/apache/passwd/wwwpasswd
   Require user wwwadmin maint
</Directory>

#Password protect /var/www/html/maint
<Directory /var/www/html/maint>
   AuthType Basic
   AuthName "Restricted Area"
   AuthUserFile /usr/local/apache/passwd/wwwpasswd
   Require user maint
</Directory>
=-=-=-=-=-= Cut Here =-=-=-=-=-=-=-=

The Include statement causes the trixbox.conf to be included when the httpd starts. Once these files are correct use "service httpd restart" to restart the web server. This should enable you t get to the trixbox page.
0

Featured Post

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
Fine Tune your automatic Updates for Ubuntu / Debian
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question