PDA

View Full Version : User data is been reset after any change.



enginaar
07-28-2008, 09:34 AM
Hello,

I've to do some changes from custom httpd and dns from admin panel for one domain. I'm doing the changes and everything is ok until the reseller who owns the domain has to make a change on user (ex: bandwitdh or quota increment) All information on dns and custom httpd is been reset when reseller makes any change.

Is this a bug or a configuration error? How can it be solved?

Ali Engin

nobaloney
08-01-2008, 11:33 AM
Where are you making the change?

Jeff

enginaar
08-01-2008, 02:45 PM
I'm writing "php_admin_flag register_globals On" to httpd.conf customization from Custom HTTPD Configurations as admin. Then my reseller changes that users quota from his panel by selection "modify user x" and that change resets custom httpd setting which I made.

DirectAdmin Support
08-03-2008, 12:14 AM
Hello,

Is anyone else able to duplicate this? I'm not able to.
The user modification section and the apache customizations areas aren't really related that much. The customized apache code is brought in during the httpd.conf rewrite and doesn't really live outside of that much.

I just tested it out but wasn't getting anything similar. The code remain unchanged when I changed the bandwidth/quota settings for that user.

The only other area that would affect the customized apache settings would be if the Reseller restores the user. This would overwrite previous code. (apart from the obvious modification of it via the Admin Level -> Custom httpd config)

John

paul.lkw
08-10-2008, 09:24 PM
Yes, enginaar say is true.
In DA control panel system it has a httpd.conf default template located in "/usr/local/directadmin/data/templates/virtual_host2.conf". If we change/add setting to the /usr/local/directadmin/data/users/some_user/httpd.conf then if any change again from the control panel the default template of httpd.conf will be replaced by "/usr/local/directadmin/data/templates/virtual_host2.conf".