Solved

Webmin Apache upgrade ruined Trixbox site

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

863 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

27 Experts available now in Live!

Get 1:1 Help Now