Search K
Appearance
Appearance
Released: 2004-03-09
CMD_API_SUBDOMAINS
domain=domain.comif nothing else is given, the list is generated ( list[]=sub&list[]=secure )
else:
action=create
subdomain=subnameelse:
action=delete
select0=subname
(select1=subname2, select2=subname3..etc)
contents=yes or no : if you want to delete the directory.Adding ability to add IP an IP range instead of typing each IP in one at a time.
Just enter:
1.2.3.4-7
to add 1.2.3.4, 1.2.3.5, 1.2.3.6 and 1.2.3.7
Change DA to accommodate international domain names, as well as all javascript in the skins.
eg: ÅÆØ.com
user/add_domain.html, domainOK:
var filter = /^(([a-z0-9¡-ÿ\-])+\.)+([a-z0-9]{2,4})+$/;
User Panel -> MySQL
Shows the current size of the database in the fourth column.
This uses "SHOW TABLE STATUS FROM db_name", this will work for databases on other servers.
Also using this metod for tally disk usage, so it will be included for remote databases.
Now Shows the Database and Email disk usage on the user stats page. Requires a tally.
CMD_API_DATABASES
no parameters:
lists the databases with encoded url: list[]=username_db1&list[]=username_db2
action=create
name=dbname (username_ will be added)
user=user (username_ will be added)
passwd=pass
passwd2=passaction=delete
select0=username_dbname
(select1=username_db2, etc...)On user creation the public_html symbolic link isn't being created for /~username. Workaround is to go into the User Panel -> Advanced Options -> Domain Administration -> select the domain and click "Set As Default". This will create the public_html link for the user.
A few bug reports coming in, more info to come.
workaround: Manually add the task to the /usr/local/directadmin/data/task.queue file:
echo "action=restore&type=reseller&value=multiple&owner=resellername&where=local&when=now&select0=george.tar.gz&ip_choice=select&ip=1.2.3.4" >> /usr/local/directadmin/data/task.queuereplace resellername with the reseller name, george.tar.gz You can add more select#=file if you want. Also replace 1.2.3.4 with the correct IP.
The group on /home/username/domains/domain.com/public_html should be "apache" but frontpage is setting it to "username" ... fix will reset it back to apache after frontpage is installed.
Show all Users Sort shows domains under name field.
https://forum.directadmin.com/posts/14151
More info to come when the source of the bug is found.