?
Solved

Webmin Apache upgrade ruined Trixbox site

Posted on 2011-03-12
3
Medium Priority
?
694 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 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

 The Evil-ution of Network Security Threats

What are the hacks that forever changed the security industry? To answer that question, we created an exciting new eBook that takes you on a trip through hacking history. It explores the top hacks from the 80s to 2010s, why they mattered, and how the security industry responded.

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…
Hey there Heard about jingle, the add on for XMPP that enables point to point audio between two XMPP clients. No server config necessary. Actually quite a cool feature. However, how good is it if you can not use those voice capabilities to do a P…
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
Suggested Courses
Course of the Month17 days, 12 hours left to enroll

830 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