Baldur2630 - 2014-04-04

I installed bandwidthd. There didn't seem to be any problems. The trouble started when I tried to configure my apache server. I already have several Virtual webservers running on the CentOS 6.4 (updated (6.5). I was unable to get it to work. I'm by no mans a Linux guru, but I have some basic knowledge.

The CentOS server is sitting under my desk and NOT with a hosting company so I have full control over everything.

I asked on Linuxquestions.org for some help and i tried the suggestion, but all I get is the apache server page.

Here is a sample of how the (working) apache servers are setup and the suggestion made by others and my own attempts.

This works and there are 3 other like it : -

Virtual host server1.mydomain.com

<virtualhost *:80="">
ServerName server1.mydomain.com
DocumentRoot /var/www/server1 </virtualhost>

RewriteEngine On
RewriteRule ^(/server1/.*) /www/server1$1

ServerAdmin me@mydomain.com
    ServerAlias server1
ErrorLog /var/log/httpd/server1-error_log
TransferLog /var/log/httpd/server1-access_log
DirectoryIndex index.php

Virtual host bandwidthd.mydomain.com

<virtualhost *:80="">
ServerName bandwidthd.mydomain.com
DocumentRoot /var/www/bandwidthd/htdocs </virtualhost>

RewriteEngine On
RewriteRule ^(/bandwidthd/.*) /www/bandwidthd$1

ServerAdmin me@mydomain.com
    ServerAlias bandwidthd
ErrorLog /var/log/httpd/bandwidthd-error_log
TransferLog /var/log/httpd/bandwidthd-access_log
DirectoryIndex index.html
    <Directory "/var/www/bandwidthd/htdocs">
       AllowOverride All
       Allow from All
    </Directory>

If someone good throw me a bone and give me the correct way to add this to httpd.conf. I would be most grateful