This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Set up SSL manually
#21
RE: Set up SSL manually
No I did not I will try that tomorrow and get back to you

Sent from my SM-N910T3 using Tapatalk
Russ
Co-Owner
KTMGaming.net
Reply
Thanks given by:
#22
RE: Set up SSL manually
All this information is in the docs site isn't it?
I know because I wrote it.

Sent from my SM-J110M using Tapatalk
Nigel Caldwell,
CEO / System Administrator,
Jigsaw Hosting Group.

KEEP AN EYE OUT FOR SABRE ((S)entora (A)uto (B)illing Sotwa(re)).

Need a [Image: Digital.png] Cloud Server??

My Blog | Like me on Facebook | Follow me on Twitter
Reply
Thanks given by:
#23
RE: Set up SSL manually
(09-15-2016, 06:54 PM)Nigel Wrote: All this information is in the docs site isn't it?
I know because I wrote it.


Well the docs do have stuff in it,but it isn't explained in detail. Some stuff are even outdated to my belief. A complete re write could benefit the entire project and also take away some stress on the support guys like TGates and Me.B

I could definitely assist in a re write of the docs
Reply
Thanks given by:
#24
RE: Set up SSL manually
Yes, the docs need updating for current release... I try to jump in there when I have time.

How's it going Nigel? LTNC
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support helpful? Donate HERE
Help me to help you by getting your domains using this link:
GoDaddy - Domains
Reply
Thanks given by:
#25
RE: Set up SSL manually
(09-15-2016, 11:10 PM)kamzo Wrote: take away some stress on the support guys like TGates and Me.B

There used to be more support people but I (a long standing support member) disagreed with a newbie & got removed.

(09-16-2016, 04:32 AM)TGates Wrote: How's it going Nigel? LTNC

Not bad thanks Tom.
Been pretty busy dealing with life, (you know how it is), just getting back into my server stuff.
Nigel Caldwell,
CEO / System Administrator,
Jigsaw Hosting Group.

KEEP AN EYE OUT FOR SABRE ((S)entora (A)uto (B)illing Sotwa(re)).

Need a [Image: Digital.png] Cloud Server??

My Blog | Like me on Facebook | Follow me on Twitter
Reply
Thanks given by:
#26
RE: Set up SSL manually
(09-15-2016, 02:42 PM)TGates Wrote: I wonder if a hard-link is used if it will work (Like the panel uses):
Code:
# AddDefaultCharset    UTF-8
AddType text/x-component .htc

<IfModule mod_php5.c>
php_flag    display_errors    Off
php_flag    log_errors    On
# php_value    error_log    logs/errors

#Disable override if you require less memory size/process & upload size!
#Default was 5M / 6M / 64M
php_value    upload_max_filesize    25M
php_value    post_max_size        26M
php_value    memory_limit        128M

php_flag    register_globals    Off
php_flag    zlib.output_compression        Off
php_flag    magic_quotes_gpc        Off
php_flag    magic_quotes_runtime        Off
php_flag    zend.ze1_compatibility_mode    Off
php_flag     suhosin.session.encrypt     Off

#php_value    session.cookie_path        /
php_flag    session.auto_start    Off
php_value    session.gc_maxlifetime    21600
php_value    session.gc_divisor    500
php_value    session.gc_probability    1
</IfModule>

<IfModule mod_rewrite.c>
RewriteEngine On
# -- added by TGates - Start
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://webmail.ktmgaming.net/$1 [R,L]
# -- added by TGates - End
RewriteRule ^favicon\.ico$ skins/larry/images/favicon.ico

# security rules:
# - deny access to files not containing a dot or starting with a dot
#   in all locations except installer directory
RewriteRule ^(?!installer)(\.?[^\.]+)$ - [F]
# - deny access to some locations
RewriteRule ^/?(\.git|\.tx|SQL|bin|config|logs|temp|tests|program\/(include|lib|localization|steps)) - [F]
# - deny access to some documentation files
RewriteRule /?(README\.md|composer\.json-dist|composer\.json|package\.xml)$ - [F]
</IfModule>

<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
</IfModule>

<IfModule mod_headers.c>
# replace 'append' with 'merge' for Apache version 2.2.9 and later
#Header append Cache-Control public env=!NO_CACHE
</IfModule>

<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 month"
</IfModule>

FileETag MTime Size

<IfModule mod_autoindex.c>
Options -Indexes
</ifModule>

Hey TGates,

I added the hard link into the .htaccess file and it still does not work. Here is the .htaccess file for webmail.

Code:
# AddDefaultCharset    UTF-8
AddType text/x-component .htc

<IfModule mod_php5.c>
php_flag    display_errors    Off
php_flag    log_errors    On
# php_value    error_log    logs/errors

#Disable override if you require less memory size/process & upload size!
#Default was 5M / 6M / 64M
php_value    upload_max_filesize    25M
php_value    post_max_size        26M
php_value    memory_limit        128M

php_flag    register_globals    Off
php_flag    zlib.output_compression        Off
php_flag    magic_quotes_gpc        Off
php_flag    magic_quotes_runtime        Off
php_flag    zend.ze1_compatibility_mode    Off
php_flag     suhosin.session.encrypt     Off

#php_value    session.cookie_path        /
php_flag    session.auto_start    Off
php_value    session.gc_maxlifetime    21600
php_value    session.gc_divisor    500
php_value    session.gc_probability    1
</IfModule>

<IfModule mod_rewrite.c>
RewriteEngine On
# -- added by TGates - Start
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://webmail.ktmgaming.net/$1 [R,L]
# -- added by TGates - End
RewriteRule ^favicon\.ico$ skins/larry/images/favicon.ico



# security rules:
# - deny access to files not containing a dot or starting with a dot
#   in all locations except installer directory
RewriteRule ^(?!installer)(\.?[^\.]+)$ - [F]
# - deny access to some locations
RewriteRule ^/?(\.git|\.tx|SQL|bin|config|logs|temp|tests|program\/(include|lib|localization|steps)) - [F]
# - deny access to some documentation files
RewriteRule /?(README\.md|composer\.json-dist|composer\.json|package\.xml)$ - [F]
</IfModule>

<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
</IfModule>

<IfModule mod_headers.c>
# replace 'append' with 'merge' for Apache version 2.2.9 and later
#Header append Cache-Control public env=!NO_CACHE
</IfModule>

<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access plus 1 month"
</IfModule>

FileETag MTime Size

<IfModule mod_autoindex.c>
Options -Indexes
</ifModule>
Russ
Co-Owner
KTMGaming.net
Reply
Thanks given by:
#27
RE: Set up SSL manually
Ok, to review, https://webmail works; http://webmail redirects to panel login.
Your panel login SSL vhost is last in the ssl-vhost.conf file.
Now, the redirect doesn't seem to be working, let's try something else. Remove the custom redirect from the .htaccess file.

Where is your vhost setting for http://webmail? Change it to:
Code:
  ServerName webmail.ktmgaming.com
  Redirect permanent / https://webmail.ktmgaming.com/
This is the more 'proper' way of doing a redirect.

I will be looking into this further for my tutorial.
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support helpful? Donate HERE
Help me to help you by getting your domains using this link:
GoDaddy - Domains
Reply
Thanks given by:
#28
RE: Set up SSL manually
Hey Tgates,

That worked perfectly. Thanks so much for all the help.
Russ
Co-Owner
KTMGaming.net
Reply
Thanks given by:
#29
RE: Set up SSL manually
(10-16-2016, 01:45 PM)HogensHero Wrote: Hey Tgates,

That worked perfectly. Thanks so much for all the help.

Glad you are up and running again Smile
-TGates - Head of Support

SEARCH the Forums or read the DOCUMENTATION before posting!
Modules Maintained: 13 - Module Installs: 108k+

Find my support helpful? Donate HERE
Help me to help you by getting your domains using this link:
GoDaddy - Domains
Reply
Thanks given by:
#30
RE: Set up SSL manually
Not sure if this is a proper way of doing it, but it seemed to work, I was hoping TGates or someone could confirm whether or not it's okay.

I kept getting this error: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:443

So what I did was thought there might be more than one listening at a time, so I did this to the apache.conf file:

# Include all SSL vhosts AFTER including the default generic VHOST configuration file
#Listen 443
Include /etc/sentora/configs/apache/ssl/*.conf

Rather than keeping the "Listen 443" active like:

# Include all SSL vhosts AFTER including the default generic VHOST configuration file
Listen 443
Include /etc/sentora/configs/apache/ssl/*.conf

It seemed to work after restart apache
Reply
Thanks given by:


Possibly Related Threads...
Thread Author Replies Views Last Post
How Update phpMyAmin [manually] Cantalupo 8 4,835 05-29-2015, 07:10 PM
Last Post: iraqiboy90

Forum Jump:


Users browsing this thread: 1 Guest(s)