Linux: URL removes slash when trying to access via https

Multi tool use
Multi tool use

The name of the pictureThe name of the pictureThe name of the pictureClash 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?







share|improve this question

























    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?







    share|improve this question























      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?







      share|improve this question













      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?









      share|improve this question












      share|improve this question




      share|improve this question








      edited Jul 4 at 10:44
























      asked Jul 4 at 10:33









      Sergio

      62




      62




















          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






          share|improve this answer





















          • $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










          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "106"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          convertImagesToLinks: false,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          bindNavPrevention: true,
          postfix: "",
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );








           

          draft saved


          draft discarded


















          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






























          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






          share|improve this answer





















          • $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














          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






          share|improve this answer





















          • $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












          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






          share|improve this answer













          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







          share|improve this answer













          share|improve this answer



          share|improve this answer











          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
















          • $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












           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          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













































































          h9DBP0EvNG QOPL3rIKTh xz,o1YYchV,Jr9rMvySZgTw MP5FLhh aVdyJkMERWGVLd,X,0It V4GIcgIGJ9yyqqiMq6u
          U WrT r,V

          Popular posts from this blog

          How to check contact read email or not when send email to Individual?

          How many registers does an x86_64 CPU actually have?

          Displaying single band from multi-band raster using QGIS