Solved

Webmin Apache upgrade ruined Trixbox site

Posted on 2011-03-12
3
683 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
  • 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 500 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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Every year the snow affects people and businesses. According to the Federation of Small Businesses (FSB), in 2009, UK businesses lost an estimated £1.2bn (http://news.bbc.co.uk/1/hi/business/7864804.stm) because of bad weather. This article was c…
As companies replace their old PBX phone systems with Unified IP Communications, many are finding out that legacy applications such as fax do not work well with VoIP. Fortunately, Cloud Faxing provides a cost-effective alternative that works over an…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

773 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