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;
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
New contributor
add a comment |
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
New contributor
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 inapp/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
add a comment |
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
New contributor
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
magento2.3 mod-rewrite
New contributor
New contributor
edited 11 hours ago
Joe F
New contributor
asked yesterday
Joe FJoe F
63
63
New contributor
New contributor
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 inapp/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
add a comment |
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 inapp/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
add a comment |
1 Answer
1
active
oldest
votes
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.
New contributor
add a comment |
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.
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
Required, but never shown
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
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.
New contributor
add a comment |
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.
New contributor
add a comment |
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.
New contributor
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.
New contributor
New contributor
answered 9 hours ago
Joe FJoe F
63
63
New contributor
New contributor
add a comment |
add a comment |
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.
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.
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
Required, but never shown
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
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
Required, but never shown
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
Required, but never shown
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
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
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