Tab 3     Lock Down                        How to setup limited access to PhpMyAdmin and MyDNS Web front end admin
                        This is done via letting selected IP address to have access to the Vhost and the rest
                        Will get the 403 error : Forbidden access error

Tab 4     Adding Vhosts

                       Simple way to add new Vhost to your OAMP Box
                       Itís really just a copy and paste the code into notepad and then use Find and
                       Replace to put in your New Domain/ Sub Domain info



Tab 5    Bittorrent Tracker

                       An Quick and simele tracker to install only takes about 3 mins to install
                       If you got the apache/mysql/php already installed



Please Note this are continues from my other howto's on  the homepage

ZcWorld 2008 

how to lock down the access to phpMyAdmin and MyDNS

log in your account

REMEMBER to change the IP address on the allow from : to your IP address of your PC you want access to the MyDNS / PhpMyDnS

vi /var/www/conf/vhosts/mydns.admin.lan.conf

<Location />
       Order deny,allow
       Deny from all
       Allow from
       AllowOverride None

below DocumentRoot /var/www/vhosts/mydns.admin.lan/htdocs

and above       CustomLog /var/www/logs/mydns.admin.lan_access.log combined

so it should look like this

<VirtualHost *>
        ServerName mydns.admin.lan
        DocumentRoot /var/www/vhosts/mydns.admin.lan/htdocs
    <Location />
       Order deny,allow
       Deny from all
       Allow from
       AllowOverride None
      CustomLog /var/www/logs/mydns.admin.lan_access.log combined
      ErrorLog /var/www/logs/mydns.admin.lan_error.log

and do the same thing the sql.admin.lan.conf file

vi /var/www/conf/vhosts/sql.admin.lan.conf

apachectl stop
httpd -u

and try to access from your PC and it should load up
and than to make sure they are working try to acceess it from an PC on your network that isn't in the allow from

simple adding new Vhost sites to your system

login with your account that has got WWW group access rights

copy and paste this into notepad and use find and replace
replace subdomain.topleave = with mysite.woot

<VirtualHost *>
        ServerName subdomain.topleave.lan
        DocumentRoot /var/www/vhosts/subdomain.topleave.lan/htdocs
    <Location />
       Order deny,allow
       Deny from all
       Allow from
       AllowOverride None
      CustomLog /var/www/logs/subdomain.topleave.lan_access.log combined
      ErrorLog /var/www/logs/subdomain.topleave.lan_error.log


mkdir -p  /var/www/vhosts/subdomain.topleave.lan/htdocs
cd /var/www/vhosts/subdomain.topleave.lan/htdocs
vi  /var/www/conf/vhosts/subdomain.topleave.lan.conf

push the insert key and copy from

push (twice) ESC :wq <enter>

replace the subdomain.topleavel with what you want


if you want to limit the access to the site than keep in the allow from
if not take out from <Location />  to </Location>

restart apache so it can load the new Vhost file up

apachectl stop
httpd -u

in the folder are you in
is the htdocs for your new Vhost site
put in here what you want to be access via the website

than go


log in
and if you using an exista topleavel than you just add an record to it
if its an new toplevel than you add a new zone first than an record to it afters

if you put nothing in here
you will get an Forbidden  error

just run to set read /write access right to the folder / files

chmod -R 775 /var/www/vhosts/

its better to use something like

sites.lan <top level>
than you have you sub level domains

admin.lan <top level>

than vdb.lan : you can do it but its a lot of records if you have like 10 or more sites
each one got its own zone and than you got to add an
empty : name record with the IP of the box
for the top level domain to be access able

please note i have not tested this out on centos / redhat but due to fedora /centos useing the redhat core : it will should work without any problems

Btit-tracker homepage @

what you need install
* MySql
* Apache
and about 20 MB of space for the tracker and torrent


yum install yum install httpd mysql-server php php-mysql php-mbstring

chkconfig --levels 235
mysqld on
/etc/init.d/mysqld start
mysqladmin -u root password yourrootsqlpassword

mkdir /tmp/bt
cd /tmp/bt

mv btit147 /var/www/html/bt
chown -R apache:apache /var/www/html
chmod -R 775 /var/www/htm

mysql -u root -p

GRANT SELECT, INSERT, UPDATE, DELETE, CREATE ON BT_tracker.* TO 'BT_tracker'@'localhost' IDENTIFIED BY 'BT_tracker';


replace <IP> with your box / pc IP

 than follow the onscreen setup



 system check



 database info seutp



at the Administrator Setup
the password must be 6 letters or more :)



 Finished Page



Click the Home Tab to go back to the Homepage

THis Page is powered by Dolphin Tabs Menu- by JavaScript Kit


if you want to see any howto or want to email me an thanks
or ask to use work on any website or anything else
email me here>> Email Me <<

remove the -SPAM-FREE-Zone part out of the address