Linux: URL removes slash when trying to access via https
Clash Royale CLAN TAG#URR8PPP
up vote
-1
down vote
favorite
I installed a linux server with Ubuntu.
Installed the certificate files.
Created a directory under /var/www/ with my domain name and public html
/var/www/domain_name/public_html/
In the default-ssl.conf file i have the following and the location of my ssl files.
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerAdmin admin@domain.domain
ServerName domain.domain
DocumentRoot /var/www/html/domain_name/public_html/
When I browse to the page https://domainname it opens the right way.
When I browse to the page https://domainname/subfolder/index.php it opens also.
But when I try to access https://domainname/phpmyadmin it removes the slash and makes the URL https://domainnamephpmyadmin.
I can access the phpmyadmin without https.
Where did I forgot something?
Extra info:
When I browse to: https://domainname/phpmyadmin/?SID it works. For what is ?SID?
ubuntu apache-httpd ssl
add a comment |Â
up vote
-1
down vote
favorite
I installed a linux server with Ubuntu.
Installed the certificate files.
Created a directory under /var/www/ with my domain name and public html
/var/www/domain_name/public_html/
In the default-ssl.conf file i have the following and the location of my ssl files.
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerAdmin admin@domain.domain
ServerName domain.domain
DocumentRoot /var/www/html/domain_name/public_html/
When I browse to the page https://domainname it opens the right way.
When I browse to the page https://domainname/subfolder/index.php it opens also.
But when I try to access https://domainname/phpmyadmin it removes the slash and makes the URL https://domainnamephpmyadmin.
I can access the phpmyadmin without https.
Where did I forgot something?
Extra info:
When I browse to: https://domainname/phpmyadmin/?SID it works. For what is ?SID?
ubuntu apache-httpd ssl
add a comment |Â
up vote
-1
down vote
favorite
up vote
-1
down vote
favorite
I installed a linux server with Ubuntu.
Installed the certificate files.
Created a directory under /var/www/ with my domain name and public html
/var/www/domain_name/public_html/
In the default-ssl.conf file i have the following and the location of my ssl files.
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerAdmin admin@domain.domain
ServerName domain.domain
DocumentRoot /var/www/html/domain_name/public_html/
When I browse to the page https://domainname it opens the right way.
When I browse to the page https://domainname/subfolder/index.php it opens also.
But when I try to access https://domainname/phpmyadmin it removes the slash and makes the URL https://domainnamephpmyadmin.
I can access the phpmyadmin without https.
Where did I forgot something?
Extra info:
When I browse to: https://domainname/phpmyadmin/?SID it works. For what is ?SID?
ubuntu apache-httpd ssl
I installed a linux server with Ubuntu.
Installed the certificate files.
Created a directory under /var/www/ with my domain name and public html
/var/www/domain_name/public_html/
In the default-ssl.conf file i have the following and the location of my ssl files.
<IfModule mod_ssl.c>
<VirtualHost _default_:443>
ServerAdmin admin@domain.domain
ServerName domain.domain
DocumentRoot /var/www/html/domain_name/public_html/
When I browse to the page https://domainname it opens the right way.
When I browse to the page https://domainname/subfolder/index.php it opens also.
But when I try to access https://domainname/phpmyadmin it removes the slash and makes the URL https://domainnamephpmyadmin.
I can access the phpmyadmin without https.
Where did I forgot something?
Extra info:
When I browse to: https://domainname/phpmyadmin/?SID it works. For what is ?SID?
ubuntu apache-httpd ssl
edited Jul 4 at 10:44
asked Jul 4 at 10:33
Sergio
62
62
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
0
down vote
The problem is solved. I forced the SSL in the config.inc.php file under et/phpmyadmin/
$cfg['ForceSSL'] = true;
restart apache and reload apache config
$cfg['ForceSSL'] = true;
is definitely not an Apache configuration statement. It's totally unclear what you are talkung about.
â blafasel
Jul 4 at 12:29
@blafasel you are right I deleted this statement after some research
â Sergio
Jul 4 at 13:09
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
The problem is solved. I forced the SSL in the config.inc.php file under et/phpmyadmin/
$cfg['ForceSSL'] = true;
restart apache and reload apache config
$cfg['ForceSSL'] = true;
is definitely not an Apache configuration statement. It's totally unclear what you are talkung about.
â blafasel
Jul 4 at 12:29
@blafasel you are right I deleted this statement after some research
â Sergio
Jul 4 at 13:09
add a comment |Â
up vote
0
down vote
The problem is solved. I forced the SSL in the config.inc.php file under et/phpmyadmin/
$cfg['ForceSSL'] = true;
restart apache and reload apache config
$cfg['ForceSSL'] = true;
is definitely not an Apache configuration statement. It's totally unclear what you are talkung about.
â blafasel
Jul 4 at 12:29
@blafasel you are right I deleted this statement after some research
â Sergio
Jul 4 at 13:09
add a comment |Â
up vote
0
down vote
up vote
0
down vote
The problem is solved. I forced the SSL in the config.inc.php file under et/phpmyadmin/
$cfg['ForceSSL'] = true;
restart apache and reload apache config
The problem is solved. I forced the SSL in the config.inc.php file under et/phpmyadmin/
$cfg['ForceSSL'] = true;
restart apache and reload apache config
answered Jul 4 at 10:49
Sergio
62
62
$cfg['ForceSSL'] = true;
is definitely not an Apache configuration statement. It's totally unclear what you are talkung about.
â blafasel
Jul 4 at 12:29
@blafasel you are right I deleted this statement after some research
â Sergio
Jul 4 at 13:09
add a comment |Â
$cfg['ForceSSL'] = true;
is definitely not an Apache configuration statement. It's totally unclear what you are talkung about.
â blafasel
Jul 4 at 12:29
@blafasel you are right I deleted this statement after some research
â Sergio
Jul 4 at 13:09
$cfg['ForceSSL'] = true;
is definitely not an Apache configuration statement. It's totally unclear what you are talkung about.â blafasel
Jul 4 at 12:29
$cfg['ForceSSL'] = true;
is definitely not an Apache configuration statement. It's totally unclear what you are talkung about.â blafasel
Jul 4 at 12:29
@blafasel you are right I deleted this statement after some research
â Sergio
Jul 4 at 13:09
@blafasel you are right I deleted this statement after some research
â Sergio
Jul 4 at 13:09
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f453396%2flinux-url-removes-slash-when-trying-to-access-via-https%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password