Add extra bandwidth (or parameters) in custom httpd.conf

dangul

Verified User
Joined
Nov 17, 2008
Messages
34
Location
Sweden
Hi, I want to have the choise to add extra bandwidth (I use mod_bw) to users... I´m using the file custom_package_items.conf but how can I use the varable in custom httpd?

For example in my /usr/local/directadmin/data/admin/custom_package_items.conf looks like:

Code:
MOD_BW=type=listbox&item1txt=2 Mbit&item1val=262144&item2txt=3 Mbit&item2val=393216&item3txt=4 Mbit&item3val=524288&item4txt=5 Mbit&item4val=655360&item5txt=6 Mbit&item5val=786432&string=Bandwidth&desc=Xtra bandwidth&default=262144

I have tried to use |MOD_BW| (a bad guess :) ) in /usr/local/directadmin/data/templates/custom/virtual_host2.conf :

Code:
...
BandWidthModule On
BandWidth all |MOD_BW|
...
but that doesen´t work...

I want to add extra bandwidth to new users and old ones... I have search in the Knowledgebase and here in the forum but all I have found is:


My question is familar with this post

Is this possible??

Thanks
Daniel
 
Last edited:
Back
Top