Page 1 of 2 12 LastLast
Results 1 to 20 of 24

Thread: DirectAdmin 1.55.0 RC1

  1. #1

    DirectAdmin 1.55.0 RC1

    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

  2. #2
    Join Date
    Jul 2008
    Location
    Maastricht
    Posts
    3,548
    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.
    Greetings, Richard.

  3. #3
    Join Date
    Apr 2009
    Posts
    2,186
    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.

  4. #4
    Join Date
    Jul 2008
    Location
    Maastricht
    Posts
    3,548
    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.
    Greetings, Richard.

  5. #5
    Join Date
    Apr 2009
    Posts
    2,186
    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.

  6. #6
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    12,494
    I see it there:

    [ ] Force SSL with https redirect

    on a domain setup page. For all existing domains.


    Quote Originally Posted by ditto View Post
    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.

  7. #7
    Join Date
    Apr 2009
    Posts
    2,186
    Quote Originally Posted by zEitEr View Post
    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

  8. #8
    Join Date
    Jul 2008
    Location
    Maastricht
    Posts
    3,548
    @ditto: I like your suggestion made in your reply in message #5, which would acceptable for everyone. If possible ofcourse.
    Greetings, Richard.

  9. #9
    Join Date
    Sep 2008
    Location
    London UK
    Posts
    1,654
    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.

  10. #10
    The "Force SSL Redirect" button has been added to the "SSL Certificates" page.
    Pre-release binaries updated.

    John

  11. #11
    Join Date
    Jul 2010
    Posts
    74
    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?

  12. #12
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    12,494
    Do you have customized templates under /usr/local/directadmin/data/templates/custom/ ?

  13. #13
    Join Date
    Jul 2010
    Posts
    74
    No.

    In that directory there are only 2 files
    edit_files.txt and php-fpm.conf

  14. #14
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    12,494
    What do you have in nginx.conf or httpd.conf of the domain?

  15. #15
    Join Date
    Jul 2010
    Posts
    74
    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>

  16. #16
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    12,494
    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.

  17. #17
    Join Date
    Jul 2010
    Posts
    74
    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 by Tazmanian79; 12-07-2018 at 08:26 AM.

  18. #18
    Join Date
    Apr 2005
    Location
    GMT +7.00
    Posts
    12,494
    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

  19. #19
    Join Date
    Jul 2010
    Posts
    74
    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>

  20. #20
    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.
    100% Cloud SSD Hosting starting from $1.12

    Now accept Bitcoin payment!

    https://hostingkernel.com

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •