Solved

Webmin Apache upgrade ruined Trixbox site

Posted on 2011-03-12
3
680 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Article by: user_n
How Sip Phone (User Agent) works and communicates with sip servers 1.  There is a sip server and a sip registrar.  The sip server and sip registrar can be one server or two different servers. The sip registrar is the server on which it is record…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now