apache2.4; php7.2.16 @debian9 squeeze + Magento CE 2.3.1 The 2019 Stack Overflow Developer Survey Results Are In404 / 500 after installing Magento 2.3Magento 2.3.0 - Set up multiple websites, stores, and store viewsMagento 2.3 : Serving site from pub, now images get 404Magento Website Errorhow to upgrade from magento 2.3.0 to 2.3.1 steps (composer)How to update magento 2.3.0 to 2.3.1?how to install magento 2.3.1 page builder extensionMagento 2.3.1 Error on checkout getAdditionalInformation()Some Payment Method Not Showing in Sales grid after upgrade magento to 2.3.1PWA Setup in Magento 2.3.1 on Windows 10 Pro

A poker game description that does not feel gimmicky

Deal with toxic manager when you can't quit

Can a flute soloist sit?

Why do UK politicians seemingly ignore opinion polls on Brexit?

Why can Shazam fly?

What is the meaning of the verb "bear" in this context?

Protecting Dualbooting Windows from dangerous code (like rm -rf)

Interpreting the 2019 New York Reproductive Health Act?

Can you compress metal and what would be the consequences?

Have you ever entered Singapore using a different passport or name?

Identify boardgame from Big movie

What tool would a Roman-age civilization have for the breaking of silver and other metals into dust?

Why did Acorn's A3000 have red function keys?

Origin of "cooter" meaning "vagina"

Why are there uneven bright areas in this photo of black hole?

Apparent duplicates between Haynes service instructions and MOT

Landlord wants to switch my lease to a "Land contract" to "get back at the city"

How to check whether the reindex working or not in Magento?

Did 3000BC Egyptians use meteoric iron weapons?

The difference between dialogue marks

Looking for Correct Greek Translation for Heraclitus

Are spiders unable to hurt humans, especially very small spiders?

Is there a symbol for a right arrow with a square in the middle?

Is "plugging out" electronic devices an American expression?



apache2.4; php7.2.16 @debian9 squeeze + Magento CE 2.3.1



The 2019 Stack Overflow Developer Survey Results Are In404 / 500 after installing Magento 2.3Magento 2.3.0 - Set up multiple websites, stores, and store viewsMagento 2.3 : Serving site from pub, now images get 404Magento Website Errorhow to upgrade from magento 2.3.0 to 2.3.1 steps (composer)How to update magento 2.3.0 to 2.3.1?how to install magento 2.3.1 page builder extensionMagento 2.3.1 Error on checkout getAdditionalInformation()Some Payment Method Not Showing in Sales grid after upgrade magento to 2.3.1PWA Setup in Magento 2.3.1 on Windows 10 Pro



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I am currently stuck with a Magento 2.3.1 CE installation on a VPS running on debian9 on LAMP



The installation went without any problems. But when I try to access the admin url I get the URL not found error.



the magento archive has been uploaded and extracted as the magento system user. All following tasks have been also performed as magento (who is member of www-data). The server has a https certificate (via certbot). And I use my own virtual host file, which has been activated.



Maybe the content is wrong:



<VirtualHost *:80>
ServerName xxxx
ServerAlias www.xxxx.xx
ServerAdmin info@xxxx.xx
DocumentRoot /var/www/html/

ErrorLog /home/magento/logs/error.log
CustomLog /home/magento/logs/access.log combined

<Directory /var/www/html/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
</Directory>
</VirtualHost>


the .htaccess file delievered with the magento package has not been touched.



I suppose a problem with my apache2 config, or a permission problem. mod rewrite is enabled.



Any hint is much appreciated.



apache2.4; php7.2.16 @debian9 squeeze + Magento CE 2.3.1




turns out the admin url was not changed at all. I entered a custom url during installation, still the random generated is saved in /app/etc/env.php
'frontName' => 'admin_9h7wss'



but even trying to access this url generates 404










share|improve this question









New contributor




Joe F is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Try to add any php file with test message on magento root and access that file. If you are able to access this file, it meas that there is no issue with virtual host

    – user55548
    yesterday











  • are you sure it's the correct admin url? the frontname for the adminhtml is defined in app/etc/env.php

    – Philipp Sander
    yesterday












  • Thank you for the hint. it is weird the env.php still contains the random generated admin url

    – Joe F
    11 hours ago

















1















I am currently stuck with a Magento 2.3.1 CE installation on a VPS running on debian9 on LAMP



The installation went without any problems. But when I try to access the admin url I get the URL not found error.



the magento archive has been uploaded and extracted as the magento system user. All following tasks have been also performed as magento (who is member of www-data). The server has a https certificate (via certbot). And I use my own virtual host file, which has been activated.



Maybe the content is wrong:



<VirtualHost *:80>
ServerName xxxx
ServerAlias www.xxxx.xx
ServerAdmin info@xxxx.xx
DocumentRoot /var/www/html/

ErrorLog /home/magento/logs/error.log
CustomLog /home/magento/logs/access.log combined

<Directory /var/www/html/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
</Directory>
</VirtualHost>


the .htaccess file delievered with the magento package has not been touched.



I suppose a problem with my apache2 config, or a permission problem. mod rewrite is enabled.



Any hint is much appreciated.



apache2.4; php7.2.16 @debian9 squeeze + Magento CE 2.3.1




turns out the admin url was not changed at all. I entered a custom url during installation, still the random generated is saved in /app/etc/env.php
'frontName' => 'admin_9h7wss'



but even trying to access this url generates 404










share|improve this question









New contributor




Joe F is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • Try to add any php file with test message on magento root and access that file. If you are able to access this file, it meas that there is no issue with virtual host

    – user55548
    yesterday











  • are you sure it's the correct admin url? the frontname for the adminhtml is defined in app/etc/env.php

    – Philipp Sander
    yesterday












  • Thank you for the hint. it is weird the env.php still contains the random generated admin url

    – Joe F
    11 hours ago













1












1








1








I am currently stuck with a Magento 2.3.1 CE installation on a VPS running on debian9 on LAMP



The installation went without any problems. But when I try to access the admin url I get the URL not found error.



the magento archive has been uploaded and extracted as the magento system user. All following tasks have been also performed as magento (who is member of www-data). The server has a https certificate (via certbot). And I use my own virtual host file, which has been activated.



Maybe the content is wrong:



<VirtualHost *:80>
ServerName xxxx
ServerAlias www.xxxx.xx
ServerAdmin info@xxxx.xx
DocumentRoot /var/www/html/

ErrorLog /home/magento/logs/error.log
CustomLog /home/magento/logs/access.log combined

<Directory /var/www/html/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
</Directory>
</VirtualHost>


the .htaccess file delievered with the magento package has not been touched.



I suppose a problem with my apache2 config, or a permission problem. mod rewrite is enabled.



Any hint is much appreciated.



apache2.4; php7.2.16 @debian9 squeeze + Magento CE 2.3.1




turns out the admin url was not changed at all. I entered a custom url during installation, still the random generated is saved in /app/etc/env.php
'frontName' => 'admin_9h7wss'



but even trying to access this url generates 404










share|improve this question









New contributor




Joe F is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I am currently stuck with a Magento 2.3.1 CE installation on a VPS running on debian9 on LAMP



The installation went without any problems. But when I try to access the admin url I get the URL not found error.



the magento archive has been uploaded and extracted as the magento system user. All following tasks have been also performed as magento (who is member of www-data). The server has a https certificate (via certbot). And I use my own virtual host file, which has been activated.



Maybe the content is wrong:



<VirtualHost *:80>
ServerName xxxx
ServerAlias www.xxxx.xx
ServerAdmin info@xxxx.xx
DocumentRoot /var/www/html/

ErrorLog /home/magento/logs/error.log
CustomLog /home/magento/logs/access.log combined

<Directory /var/www/html/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
</Directory>
</VirtualHost>


the .htaccess file delievered with the magento package has not been touched.



I suppose a problem with my apache2 config, or a permission problem. mod rewrite is enabled.



Any hint is much appreciated.



apache2.4; php7.2.16 @debian9 squeeze + Magento CE 2.3.1




turns out the admin url was not changed at all. I entered a custom url during installation, still the random generated is saved in /app/etc/env.php
'frontName' => 'admin_9h7wss'



but even trying to access this url generates 404







magento2.3 mod-rewrite






share|improve this question









New contributor




Joe F is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Joe F is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited 11 hours ago







Joe F













New contributor




Joe F is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









Joe FJoe F

63




63




New contributor




Joe F is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Joe F is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Joe F is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • Try to add any php file with test message on magento root and access that file. If you are able to access this file, it meas that there is no issue with virtual host

    – user55548
    yesterday











  • are you sure it's the correct admin url? the frontname for the adminhtml is defined in app/etc/env.php

    – Philipp Sander
    yesterday












  • Thank you for the hint. it is weird the env.php still contains the random generated admin url

    – Joe F
    11 hours ago

















  • Try to add any php file with test message on magento root and access that file. If you are able to access this file, it meas that there is no issue with virtual host

    – user55548
    yesterday











  • are you sure it's the correct admin url? the frontname for the adminhtml is defined in app/etc/env.php

    – Philipp Sander
    yesterday












  • Thank you for the hint. it is weird the env.php still contains the random generated admin url

    – Joe F
    11 hours ago
















Try to add any php file with test message on magento root and access that file. If you are able to access this file, it meas that there is no issue with virtual host

– user55548
yesterday





Try to add any php file with test message on magento root and access that file. If you are able to access this file, it meas that there is no issue with virtual host

– user55548
yesterday













are you sure it's the correct admin url? the frontname for the adminhtml is defined in app/etc/env.php

– Philipp Sander
yesterday






are you sure it's the correct admin url? the frontname for the adminhtml is defined in app/etc/env.php

– Philipp Sander
yesterday














Thank you for the hint. it is weird the env.php still contains the random generated admin url

– Joe F
11 hours ago





Thank you for the hint. it is weird the env.php still contains the random generated admin url

– Joe F
11 hours ago










1 Answer
1






active

oldest

votes


















0














I forgot to adjust the apache2 ssl.conf (/etc/apache2/sites-enabled/000-default-le-ssl.conf)



<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html

ErrorLog $APACHE_LOG_DIR/error.log
CustomLog $APACHE_LOG_DIR/access.log combined

SSLEngine On
ServerName xxxx.xx
SSLCertificateFile /etc/letsencrypt/live/xxxx.xx/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/xxxx.xx/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
<Directory /var/www/html>
Options Indexes FollowSymLinks Multiviews
AllowOverride All
ServerSignature off
</Directory>




Now it works like a charm.






share|improve this answer








New contributor




Joe F is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "479"
    ;
    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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );






    Joe F is a new contributor. Be nice, and check out our Code of Conduct.









    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269387%2fapache2-4-php7-2-16-debian9-squeeze-magento-ce-2-3-1%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I forgot to adjust the apache2 ssl.conf (/etc/apache2/sites-enabled/000-default-le-ssl.conf)



    <IfModule mod_ssl.c>
    <VirtualHost *:443>
    ServerAdmin webmaster@localhost
    DocumentRoot /var/www/html

    ErrorLog $APACHE_LOG_DIR/error.log
    CustomLog $APACHE_LOG_DIR/access.log combined

    SSLEngine On
    ServerName xxxx.xx
    SSLCertificateFile /etc/letsencrypt/live/xxxx.xx/fullchain.pem
    SSLCertificateKeyFile /etc/letsencrypt/live/xxxx.xx/privkey.pem
    Include /etc/letsencrypt/options-ssl-apache.conf
    <Directory /var/www/html>
    Options Indexes FollowSymLinks Multiviews
    AllowOverride All
    ServerSignature off
    </Directory>




    Now it works like a charm.






    share|improve this answer








    New contributor




    Joe F is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.
























      0














      I forgot to adjust the apache2 ssl.conf (/etc/apache2/sites-enabled/000-default-le-ssl.conf)



      <IfModule mod_ssl.c>
      <VirtualHost *:443>
      ServerAdmin webmaster@localhost
      DocumentRoot /var/www/html

      ErrorLog $APACHE_LOG_DIR/error.log
      CustomLog $APACHE_LOG_DIR/access.log combined

      SSLEngine On
      ServerName xxxx.xx
      SSLCertificateFile /etc/letsencrypt/live/xxxx.xx/fullchain.pem
      SSLCertificateKeyFile /etc/letsencrypt/live/xxxx.xx/privkey.pem
      Include /etc/letsencrypt/options-ssl-apache.conf
      <Directory /var/www/html>
      Options Indexes FollowSymLinks Multiviews
      AllowOverride All
      ServerSignature off
      </Directory>




      Now it works like a charm.






      share|improve this answer








      New contributor




      Joe F is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















        0












        0








        0







        I forgot to adjust the apache2 ssl.conf (/etc/apache2/sites-enabled/000-default-le-ssl.conf)



        <IfModule mod_ssl.c>
        <VirtualHost *:443>
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/html

        ErrorLog $APACHE_LOG_DIR/error.log
        CustomLog $APACHE_LOG_DIR/access.log combined

        SSLEngine On
        ServerName xxxx.xx
        SSLCertificateFile /etc/letsencrypt/live/xxxx.xx/fullchain.pem
        SSLCertificateKeyFile /etc/letsencrypt/live/xxxx.xx/privkey.pem
        Include /etc/letsencrypt/options-ssl-apache.conf
        <Directory /var/www/html>
        Options Indexes FollowSymLinks Multiviews
        AllowOverride All
        ServerSignature off
        </Directory>




        Now it works like a charm.






        share|improve this answer








        New contributor




        Joe F is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        I forgot to adjust the apache2 ssl.conf (/etc/apache2/sites-enabled/000-default-le-ssl.conf)



        <IfModule mod_ssl.c>
        <VirtualHost *:443>
        ServerAdmin webmaster@localhost
        DocumentRoot /var/www/html

        ErrorLog $APACHE_LOG_DIR/error.log
        CustomLog $APACHE_LOG_DIR/access.log combined

        SSLEngine On
        ServerName xxxx.xx
        SSLCertificateFile /etc/letsencrypt/live/xxxx.xx/fullchain.pem
        SSLCertificateKeyFile /etc/letsencrypt/live/xxxx.xx/privkey.pem
        Include /etc/letsencrypt/options-ssl-apache.conf
        <Directory /var/www/html>
        Options Indexes FollowSymLinks Multiviews
        AllowOverride All
        ServerSignature off
        </Directory>




        Now it works like a charm.







        share|improve this answer








        New contributor




        Joe F is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        Joe F is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered 9 hours ago









        Joe FJoe F

        63




        63




        New contributor




        Joe F is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        Joe F is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        Joe F is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.




















            Joe F is a new contributor. Be nice, and check out our Code of Conduct.









            draft saved

            draft discarded


















            Joe F is a new contributor. Be nice, and check out our Code of Conduct.












            Joe F is a new contributor. Be nice, and check out our Code of Conduct.











            Joe F is a new contributor. Be nice, and check out our Code of Conduct.














            Thanks for contributing an answer to Magento Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f269387%2fapache2-4-php7-2-16-debian9-squeeze-magento-ce-2-3-1%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

            Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

            Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form