ISPConfig 3 issueshttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues2018-12-15T18:15:30Zhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/1718Optinal remove from * and force ipv62018-12-15T18:15:30ZXaver MaierhoferOptinal remove from * and force ipv6A lot of user have no idear and empty field and * in selectbox are in template and not optional.
If one web use ip adress * has no effect anymore.
3 ideas to handle it
1. Select ip adress ipv4 or ipv6 with selected="selected", if it...A lot of user have no idear and empty field and * in selectbox are in template and not optional.
If one web use ip adress * has no effect anymore.
3 ideas to handle it
1. Select ip adress ipv4 or ipv6 with selected="selected", if its a new web. Not * or blank. If Somebody want, he can use blank for ipv6....
2. Make a option in Config. I want * or i not. (often User start with * and later if SSL starts for different webs, the problem appears)
2. ipv4 -> if 1 web on Server has a IP Address, the * will disappear. But if somebody don't add a IP for other User its a problem. But this web wont work anyway.
ipv6 -> if client has a ipv6 -> use it. User a scared about long unknown addresses....
Maybe another option exists to handle it, but right now its hard for user, i need to edit templates and after Update its gone. I know, i can create a own template... But i want to use standard for updates...https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/1719web backup to mounted ftp drive - temporary file problem2018-12-15T18:15:30ZHofikweb backup to mounted ftp drive - temporary file problemHi, I have a mounted ftp drive for web backups. I use curlftpfs for mounting ftp drive.
If I run cron_dayli.php - web isn't backed up, because temporary file is not created on a mounted ftp drive.
You must add a parameter for zip archi...Hi, I have a mounted ftp drive for web backups. I use curlftpfs for mounting ftp drive.
If I run cron_dayli.php - web isn't backed up, because temporary file is not created on a mounted ftp drive.
You must add a parameter for zip archiving in file cron_dayli.php about on line 516. You must add parameter -b /tmp
Example: ... | zip -b /tmp -y ...
Have a nice day :)3.0.5https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/1720cron_dayli.php - server is for web backups and sql backups2018-12-15T18:15:30ZHofikcron_dayli.php - server is for web backups and sql backupsHere is small code for sql backup with cron_dayli.php called by cron_daily.sh. Maybe someone help you :)
<?php
/* SQL Dump HOFIK*/
require('lib/config.inc.php');
require('lib/app.inc.php');
set_time_limit(0);
$conf['serve...Here is small code for sql backup with cron_dayli.php called by cron_daily.sh. Maybe someone help you :)
<?php
/* SQL Dump HOFIK*/
require('lib/config.inc.php');
require('lib/app.inc.php');
set_time_limit(0);
$conf['server_id'] = intval($conf['server_id']);
// Load required base-classes
$app->uses('ini_parser,file,services,getconf');
$server_config = $app->getconf->get_server_config($conf['server_id'], 'server');
$backup_dir = $server_config['backup_dir'];
if($backup_dir != '') {
if(!is_dir($backup_dir)) {
mkdir(escapeshellcmd($backup_dir), 0750, true);
}
$sql = "SELECT * FROM web_domain WHERE type = 'vhost'";
$records = $app->db->queryAllRecords($sql);
if(is_array($records)) {
foreach($records as $rec) {
if($rec['backup_interval'] == 'daily' or ($rec['backup_interval'] == 'weekly' && date('w') == 0) or ($rec['backup_interval'] == 'monthly' && date('d') == '01')) {
$web_path = $rec['document_root'];
$web_user = $rec['system_user'];
$web_group = $rec['system_group'];
$web_id = $rec['domain_id'];
$web_backup_dir = $backup_dir.'/web'.$web_id;
if(!is_dir($web_backup_dir)) mkdir($web_backup_dir, 0755);
chmod($web_backup_dir, 0755);
chown($web_backup_dir, 'root');
chgrp($web_backup_dir, 'root');
$gid = $rec['sys_groupid'];
$sql2 = "SELECT * FROM web_database WHERE sys_groupid='".$gid."'";
$records2 = $app->db->queryAllRecords($sql2);
if(is_array($records2)) {
foreach($records2 as $rec2) {
$dbname = $rec2['database_name'];
$dbuser = $rec2['database_user'];
$dbpass = $rec2['database_password'];
$sid = $rec2['server_id'];
}
}
$sql3 = "SELECT * FROM server WHERE server_id='".$sid."'";
$rec3 = $app->db->queryOneRecord($sql3);
$dbhost = $rec3['server_name'];
$fullhostname = exec("hostname -f");
if ($fullhostname == $dbhost) { $dbhost = "localhost"; }
exec('mysqldump -h '. $dbhost .' -B '. $dbname. ' -u '. $dbuser .' -p'. $dbpass .' | gzip -9 >'. $web_backup_dir .'/sql.gzip');
// Rename or remove old backups
$backup_copies = intval($rec['backup_copies']);
if(is_file($web_backup_dir.'/sql.'.$backup_copies.'.gzip')) unlink($web_backup_dir.'/sql.'.$backup_copies.'.gzip');
for($n = $backup_copies - 1; $n >= 1; $n--) {
if(is_file($web_backup_dir.'/sql.'.$n.'.gzip')) {
rename($web_backup_dir.'/sql.'.$n.'.gzip',$web_backup_dir.'/sql.'.($n+1).'.gzip');
}
}
if(is_file($web_backup_dir.'/sql.gzip')) rename($web_backup_dir.'/sql.gzip',$web_backup_dir.'/sql.1.gzip');
// Create backupdir symlink
if(is_link($web_path.'/backup')) unlink($web_path.'/backup');
symlink($web_backup_dir,$web_path.'/backup');
chmod($web_path.'/backup', 0755);
}
if($rec['backup_interval'] == 'none') {
$web_id = $rec['domain_id'];
$web_user = $rec['system_user'];
$web_backup_dir = realpath($backup_dir.'/sql'.$web_id);
if(is_dir($web_backup_dir)) {
exec('sudo -u '.escapeshellarg($web_user).' rm -f '.escapeshellarg($web_backup_dir.'/*'));
}
}
}
}
}https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/1724Folder Protection feature may destroy existing .htaccess file2018-12-15T18:15:30ZBen JohnsonFolder Protection feature may destroy existing .htaccess fileIt seems that when a directory is protected using the "Folder protection" feature in the ISPConfig interface, any existing .htaccess file is overwritten, thereby destroying its contents.
A better implementation would be to add only th...It seems that when a directory is protected using the "Folder protection" feature in the ISPConfig interface, any existing .htaccess file is overwritten, thereby destroying its contents.
A better implementation would be to add only the required directives to any existing .htaccess file. When protection is removed from the directory, only the previously-added directives should be removed (and not the entire .htaccess file, which seems to be the current behavior).
Webmin has a directory protection feature that behaves in the manner described above; existing .htaccess contents are left intact and only the directives handled by Webmin are added/removed. This is the ideal behavior.3.0.5Marius BurkardMarius Burkardhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/1726Add minimum allowed seconds Value for DNS zone records2018-12-15T18:15:30ZRadimAdd minimum allowed seconds Value for DNS zone recordsWhen editing ot manualy creating Zone, every user can input anything into
Refresh Seconds
Retry Seconds
Expire Seconds
Minimum Seconds
TTL Seconds
fields
which is really bad. User can for example change all fileds to 1 sec...When editing ot manualy creating Zone, every user can input anything into
Refresh Seconds
Retry Seconds
Expire Seconds
Minimum Seconds
TTL Seconds
fields
which is really bad. User can for example change all fileds to 1 second and Bind will be overloaded.
It will be great if administrator has the option set allowed range of seconds for each record3.0.5https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/1728Subdomains of hosted domain2023-12-03T21:00:27ZKrzysztof TomczykSubdomains of hosted domainIf I have registred user in ispconfig panel with somedomain.com as another client I can create subdomain in somedomain.com and have control over it. It's in my full ownership, there is no mechanism to check subdomain delegation exists or...If I have registred user in ispconfig panel with somedomain.com as another client I can create subdomain in somedomain.com and have control over it. It's in my full ownership, there is no mechanism to check subdomain delegation exists or something like that. Application - without any checks - create subdomain and give administration of that domain to user which is not in charge of domain (i.e somedomain.com)https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/1729Add functions to manage password protected folders to remote api2018-12-15T18:15:30ZTill BrehmAdd functions to manage password protected folders to remote apiAdd functions to manage password protected folders to remote apiAdd functions to manage password protected folders to remote api3.0.5Marius BurkardMarius Burkardhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/1731Different return types (HashMap and Boolean) in API function client_get_by_us...2023-12-03T20:58:30ZJasiu StasiuDifferent return types (HashMap and Boolean) in API function client_get_by_usernameWhen there is any record, returned type is HashMap with client details but when there is no client there is Boolean var false. It should return empty HashMapWhen there is any record, returned type is HashMap with client details but when there is no client there is Boolean var false. It should return empty HashMaphttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/1732Put .htaccess for folderprotection into vhost or include in vhost2020-10-24T18:21:53ZXaver MaierhoferPut .htaccess for folderprotection into vhost or include in vhost<Location />
AuthType Basic
AuthName "Members Only"
AuthUserFile /var/www/clients/clientXXXXX/webXXXXXX/web/.htpasswd
require valid-user
</Location>
No Problem with overwrite, ftp cant change it. If ftp hacked -> cant remove password pr...<Location />
AuthType Basic
AuthName "Members Only"
AuthUserFile /var/www/clients/clientXXXXX/webXXXXXX/web/.htpasswd
require valid-user
</Location>
No Problem with overwrite, ftp cant change it. If ftp hacked -> cant remove password protectionhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/1733Disable SPAM-Services2020-10-24T18:21:54ZDaniel FernandezDisable SPAM-ServicesWould be nice to have the possibility to completely disable SPAM and Antivirus handling
over ISPConfig. At least in a way that Enduser/Client don't need/can set Options in the
Interface (Spamfilter).
We have a external Appliance for fil...Would be nice to have the possibility to completely disable SPAM and Antivirus handling
over ISPConfig. At least in a way that Enduser/Client don't need/can set Options in the
Interface (Spamfilter).
We have a external Appliance for filtering mails, so we don't need localy too.
Would be great, thanx.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/1734Expand Functionality of "Folder protection"2020-10-24T18:21:54ZDaniel FernandezExpand Functionality of "Folder protection"Expand Functionality of "Folder protection" in this way that also single files can be protected, not only folders.
Example: /var/www/clientXY/web/admin/protectedfile.php
So the function could be renamed to "Folder & File protection"
Wo...Expand Functionality of "Folder protection" in this way that also single files can be protected, not only folders.
Example: /var/www/clientXY/web/admin/protectedfile.php
So the function could be renamed to "Folder & File protection"
Would be cool!https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/1739Plain text clients' password in database2018-12-15T18:15:30ZKrzysztof TomczykPlain text clients' password in databaseClient's passwords are stored in plaint text (sys_user.passwort) which is unaccepted. I know that you need it for scripts run but this means that there are some architectural misconception. I think that - for quick patch you should delet...Client's passwords are stored in plaint text (sys_user.passwort) which is unaccepted. I know that you need it for scripts run but this means that there are some architectural misconception. I think that - for quick patch you should delete passwort as soon as scripts do their jobs. Clients should have their passwords stored in hashed form3.0.4.2https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/1740Add default_webserver setting for client2018-12-15T18:15:30ZKrzysztof TomczykAdd default_webserver setting for clientHi
There is a possibility to set default_webserver for client in DB (client.default_webserver) but in interface I don't see any place where I can set that optionHi
There is a possibility to set default_webserver for client in DB (client.default_webserver) but in interface I don't see any place where I can set that optionhttps://git.ispconfig.org/ispconfig/ispconfig3/-/issues/1742dns: wrong named.conf.local generated with reverse dns delegation for small n...2018-12-15T18:15:30ZPeter Zahradnikdns: wrong named.conf.local generated with reverse dns delegation for small networksWhen using Classless Reverse DNS Delegation (for smaller networks), generated named.conf.local file isn't valid
e.g.
we have network 95.219.xx.xx/28 so in named.conf.local we need to have "zone 128/xxx.xxx.219.95.in-addr.arpa {"
---...When using Classless Reverse DNS Delegation (for smaller networks), generated named.conf.local file isn't valid
e.g.
we have network 95.219.xx.xx/28 so in named.conf.local we need to have "zone 128/xxx.xxx.219.95.in-addr.arpa {"
--- named.conf.local 2011-12-29 12:37:09.000000000 +0100
+++ named.conf.local.bad 2011-12-29 12:41:16.000000000 +0100
@@ -18,7 +18,7 @@
allow-transfer {none;};
file "/etc/bind/zones/pri.xxxxxxx.org";
};
-zone "128/xxx.xxx.219.95.in-addr.arpa" {
+zone "xxx.219.95.in-addr.arpa" {
type master;
allow-transfer {none;};
file "/etc/bind/zones/pri.xxx.219.95.in-addr.arpa";
see also http://www.sonoracomm.com/support/19-inet-support/185-ispconfig-cidr3.0.4.2https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/1745Add a config file backup option in the ispconfig updater2018-12-15T18:15:30ZTill BrehmAdd a config file backup option in the ispconfig updaterAdd a config file backup option in the ispconfig updaterAdd a config file backup option in the ispconfig updater3.0.4.2https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/1746Add update instructions for the shell update on the system > update page in ...2018-12-15T18:15:30ZTill BrehmAdd update instructions for the shell update on the system > update page in ISPConfigAdd update instructions for the shell update on the system > update page in ISPConfigAdd update instructions for the shell update on the system > update page in ISPConfig3.0.4.2https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/1747Added option to change the mysql username and password of ispconfig user duri...2018-12-15T18:15:30ZTill BrehmAdded option to change the mysql username and password of ispconfig user during installAdded a option to change the mysql username and password of ispconfig user mysql user when installaing ISPConfig in expert mode.Added a option to change the mysql username and password of ispconfig user mysql user when installaing ISPConfig in expert mode.3.0.4.2https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/1748Add redirect option R=301,L for subdomain, aliasdomain and website on apache ...2018-12-15T18:15:30ZTill BrehmAdd redirect option R=301,L for subdomain, aliasdomain and website on apache servers.Add redirect option R=301,L for subdomain, aliasdomain and website on apache servers.Add redirect option R=301,L for subdomain, aliasdomain and website on apache servers.3.0.4.2https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/1751Add textfield for custom vhost configuration that overrides the vhost ISPConf...2020-10-24T18:22:04ZSteven FarleyAdd textfield for custom vhost configuration that overrides the vhost ISPConfig setupAt times I find its much easier when working with a very complicated website setup to just go into the Nginx vhost file and set it up from scratch. Like having a server directive for port 80 and another server directive for port 443 whic...At times I find its much easier when working with a very complicated website setup to just go into the Nginx vhost file and set it up from scratch. Like having a server directive for port 80 and another server directive for port 443 which is the recommend way to setup a site running SSL.
However the issue comes up when you forget you did a bunch of custom code in the vhost file and then make a small change in the site settings (Like turn off SSL) and click save since it will override all the custom stuff you did into the vhost file manually.
So I would like to see if we can have a textfield where we can input the custom vhost configuration text and if its filled out ISPConfig 3 will only save that file into the vhost file.
So under Sites -> example.com -> Options we could have another textfield under the Nginx Directive (Which will only add your code into an existing vhost file) another textfield thats called "Custom Nginx Directive" or "Custom Nginx Vhost" and here we can place a complete vhost configuration and ISPConfig will only use whats in that textfield to generate the vhost file if someone clicks the save button!
Or instead of another textfield there can be just a check box on the Nginx Directive that says something like "Custom Directive" and if its checked it will only create a directive based on the data entered into the Nginx Directive.https://git.ispconfig.org/ispconfig/ispconfig3/-/issues/1754Allow mutliple PHP versions2018-12-15T18:15:30ZFalko Timmef.timme@timmehosting.deAllow mutliple PHP versionsIf multiple PHP versions are available on the server, it would be nice if one could select a specific version for a website.If multiple PHP versions are available on the server, it would be nice if one could select a specific version for a website.