DirectAdmin 1.55.0 RC1

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
8,927
Hello,

We're pleased to announce the Release Candidate for DirectAdmin 1.55.0.

Version: 1.55.0 RC1

The full list of changes can be found here:
https://www.directadmin.com/versions.php?version=1.550

This is a major release with many new features and many bugfixes.

Some of notable items:

Changes

Features

Bug-fixes

Current release date set for December 6th, 2018. This may change if issues are found.

To test these changes, please install the latest pre-release binaries:
https://help.directadmin.com/item.php?id=408

If you find any issues with the changes in 1.55.0 RC1, please report them here on the forum, to avoid any duplicate emails.

Thanks!
John
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
4,221
Location
Maastricht
I'm missing a fix I reported via the ticket system.
Which was when from a admin or reseller package for example the SSH access was removed, the option was not removed on user level for the customers. So when you checked a customer they could still have ssh in the options, while it was not present anymore in their package.
Or was this already fixed in the previous release? Not sure anymore.
 

ditto

Verified User
Joined
Apr 27, 2009
Messages
2,466
Regarding the feature "Domain Setup: Force SSL redirect" at https://www.directadmin.com/features.php?id=2221 - would it be possible for you to also add this checkbox at the domain SSL page at /CMD_SSL?domain=domain.com ? I think it would be logically and user friendly to have it there, and that when a user install a SSL certificate on a domain, after the domain is installed, on the same page it would then be a checkbox to "Force SSL with https redirect". Then the user can do it all on one place, instad of navigate back to domain administration and do it there.
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
4,221
Location
Maastricht
I think it would be logically and user friendly to have it there
Eh no, I would not advise to put a button for the user there. Beacuse in that case you force them to use https://hostname.yourserver.com:2222 which some of us don't like. And it also needs some explaining to the users as they see they suddenly land somewhere else.

It would be a lot user friedly'er to change something so it would become http://www.userdomain.com:2222 which is more user friendly and easier for the user to remember because he does not see another name in the url bar. So more like cpanel has it in fact.
 

ditto

Verified User
Joined
Apr 27, 2009
Messages
2,466
We only offer DirectAdmin at https://hostname.yourserver.com:2222 , however then I will still ask DirectAdmin to add the feature/checkbox at /CMD_SSL?domain=domain.com but not enable it as default, and only offer it with a directadmin.conf option to enable it. Consider it a feature request from me.
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,893
Location
GMT +7.00
I see it there:

[ ] Force SSL with https redirect

on a domain setup page. For all existing domains.


Regarding the feature "Domain Setup: Force SSL redirect" at https://www.directadmin.com/features.php?id=2221 - would it be possible for you to also add this checkbox at the domain SSL page at /CMD_SSL?domain=domain.com ? I think it would be logically and user friendly to have it there, and that when a user install a SSL certificate on a domain, after the domain is installed, on the same page it would then be a checkbox to "Force SSL with https redirect". Then the user can do it all on one place, instad of navigate back to domain administration and do it there.
 

ditto

Verified User
Joined
Apr 27, 2009
Messages
2,466
I see it there:

[ ] Force SSL with https redirect

on a domain setup page. For all existing domains.
Yes, but what my feature request is, is to also have the checkbox on the SSL page at /CMD_SSL?domain=domain.com - so that when a customer install a SSL certificate and click back button, then they can easy click on "Force SSL with https redirect" right after they have installed the certificate, without the need of going to the domain setup page. Only a feature request, and it does not have to be default enabled, but with a option in directadmin.conf
 

Richard G

Verified User
Joined
Jul 6, 2008
Messages
4,221
Location
Maastricht
@ditto: I like your suggestion made in your reply in message #5, which would acceptable for everyone. If possible ofcourse.
 

Peter Laws

Verified User
Joined
Sep 13, 2008
Messages
1,747
Location
London UK
I don't use RC's, but I assume the force to ssl redirect only shows when there's a certificate for the domain? Otherwise it's pointless, as it'll use the hostname certificate.
 

DirectAdmin Support

Administrator
Staff member
Joined
Feb 27, 2003
Messages
8,927
The "Force SSL Redirect" button has been added to the "SSL Certificates" page.
Pre-release binaries updated.

John
 

Tazmanian79

Verified User
Joined
Jul 24, 2010
Messages
85
I just have upgraded to 1.55.0 (final version)

I want to use the 2 new features.
- force_ssl for easy apache/nginx redirection to https (TEMPLATES)(SKINS)
- Domain Pointers: option to not redirect to www (SKINS)(TEMPLATES)

Redirection to https is working.
However redirection from domain.com to www.domain.com is not working. Although I have pointers www redirect checked on my domain.

Should I enable it somewhere else?
Anyone that can help?
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,893
Location
GMT +7.00
Do you have customized templates under /usr/local/directadmin/data/templates/custom/ ?
 

Tazmanian79

Verified User
Joined
Jul 24, 2010
Messages
85
Code:
# Auto generated apache config file by DirectAdmin version 1.55.0
# Modifying this file is not recommended as any changes you make will be
# overwritten when the user makes any changes to their website

# For global config changes that affect all Users, see this guide:
# http://help.directadmin.com/item.php?id=2
# For local config changes that only affect one User, see this guide:
# http://help.directadmin.com/item.php?id=3


<Directory "/home/user/public_html">
	<IfModule mod_fcgid.c>
		SuexecUserGroup user user
	</IfModule>
</Directory>

<VirtualHost 00.00.00.00:80 >
	ServerName www.domain.be
	ServerAlias www.domain.be domain.be 
	ServerAdmin webmaster@domain.be
	DocumentRoot /home/user/domains/domain.be/public_html
	UseCanonicalName OFF
	SetEnvIf X-Forwarded-Proto "https" HTTPS=on
	RewriteEngine On
	RewriteCond %{HTTPS} !=on
	RewriteCond %{HTTP:X-Forwarded-Proto} !https [NC]
	RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
	<IfModule !mod_ruid2.c>
		SuexecUserGroup user user
	</IfModule>
	CustomLog /var/log/httpd/domains/domain.be.bytes bytes
	CustomLog /var/log/httpd/domains/domain.be.log combined
	ErrorLog /var/log/httpd/domains/domain.be.error.log
	<filesMatch ".(css|jpg|jpeg|png|gif|js|ico)$">
	Header set Cache-Control "max-age=15552000, public"
	</filesMatch>
	<Directory /home/user/domains/domain.be/public_html>
		AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,IncludesNOEXEC,MultiViews,SymLinksIfOwnerMatch,FollowSymLinks,None
		Options -ExecCGI -Includes +IncludesNOEXEC
	</Directory>
</VirtualHost>

<VirtualHost 400.00.00.00:443 >
	SSLEngine on
	SSLCertificateFile /usr/local/directadmin/data/users/user/domains/domain.be.cert.combined
	SSLCertificateKeyFile /usr/local/directadmin/data/users/user/domains/domain.be.key
	SSLCACertificateFile /usr/local/directadmin/data/users/user/domains/domain.be.cacert
	ServerName www.domain.be
	ServerAlias www.domain.be domain.be 
	Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains; preload"
	ServerAdmin webmaster@domain.be
	DocumentRoot /home/users/domains/domain.be/private_html
	UseCanonicalName OFF
	<IfModule !mod_ruid2.c>
		SuexecUserGroup user user
	</IfModule>
	CustomLog /var/log/httpd/domains/domain.be.bytes bytes
	CustomLog /var/log/httpd/domains/domain.be.log combined
	ErrorLog /var/log/httpd/domains/domain.be.error.log
	<filesMatch ".(css|jpg|jpeg|png|gif|js|ico)$">
	Header set Cache-Control "max-age=15552000, public"
	</filesMatch>
	<Directory /home/user/domains/domain.be/private_html>
		AllowOverride AuthConfig FileInfo Indexes Limit Options=Indexes,IncludesNOEXEC,MultiViews,SymLinksIfOwnerMatch,FollowSymLinks,None
		Options -ExecCGI -Includes +IncludesNOEXEC
	</Directory>
</VirtualHost>
 

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,893
Location
GMT +7.00
If mod_rewrite rules under <VirtualHost ...> does not work as intended, then I guess, there are other mod_rewrite rules which have a precedence over them.

Try and see whether or not renaming .htaccess to .htaccess~off in public_html helps.
 

Tazmanian79

Verified User
Joined
Jul 24, 2010
Messages
85
It's happening on all my domains. I checked in one domain there was an empty .htaccess file.
I even deleted it, but still domain.com does not forward to www.domain.com

EDIT: However I cannot find any mod rewrite rules on the virtual zone files that is transferring domain.com to www.domain.com
I used to have this in the past

Code:
        <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteCond %{HTTP_HOST} !^www\. [NC]
        RewriteRule (.*) https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
        </IfModule>
But I should not use that anymore because of the new features in Directadmin 1.55
 
Last edited:

zEitEr

Super Moderator
Joined
Apr 11, 2005
Messages
13,893
Location
GMT +7.00
I see a confusion arose.


The feature

- Domain Pointers: option to not redirect to www (SKINS)(TEMPLATES)

is about pointers only, not about domains with sites.


With this feature you can have either

pointer.com redirected to www.maindomain.com, or
pointer.com redirected to maindomain.com


It's not about redirecting maindomain.com <-> www.maindomain.com
 

Tazmanian79

Verified User
Joined
Jul 24, 2010
Messages
85
Ok thanks for the explaination. I was confused indeed.

Maybe should be nice feature in future release to have redirection for domain.com to www.domain.com or the other way.
Same as you have for SSL redirect.

So for now I still need this in my Virtual Zone file for SSL connections:
Code:
        <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteCond %{HTTP_HOST} !^www\. [NC]
        RewriteRule (.*) https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
        </IfModule>
 

Hosting Kernel

Verified User
Joined
Sep 30, 2015
Messages
126
Hello, is it DA v1.55 final has been released? I don't see the announcement on the forum but got the upgrade notification on my servers.
 
Top