cancel
Showing results for 
Search instead for 
Did you mean: 

Secure admin page is blocked.

Secure admin page is blocked.

Hello,

 

I just ended my installation stages and clicked the link(https://localhost/magento2/myadminurl/) as the installation success page(http://localhost/magento2/setup/#/success) suggested.

 

But i got the message "Unable to connect".

 

so tried some actions and the results of corresponding to each action are :

 

1. manualy connect to http://localhost/magento2/index.php 

- homepage with no style only html texts and some images

- if i click some of the links shown in the page, it shows the message page not found.

 

2. manualy connect to https://localhost/magento2/index.php

-> page not found

 

 

3. manually connect to http://localhost/magento2/myadminurl/

-> page not found

 

--------------------------------------------------------------------------------------

versions :

 

Linux 4.2.0-27-generic x86_64

 

 

apache2.4.7

 

PHP 5.5.9-1ubuntu4.14 (cli) (built: Oct 28 2015 01:34:46)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies

------------------------------------------------------------------------------------------------------

 

 

below is my magento2 folders permissions :

 

drwxrwx--- 4 root www-data 4096 4월 12 17:14 app
drwxrwx--- 2 root www-data 4096 4월 12 17:14 bin
-rw-rw---- 1 root www-data 438803 4월 12 17:14 CHANGELOG.md
-rw-rw---- 1 root www-data 3006 4월 12 17:14 composer.json
-rw-rw---- 1 root www-data 338085 4월 12 17:14 composer.lock
-rw-rw---- 1 root www-data 3425 4월 12 17:14 CONTRIBUTING.md
-rw-rw---- 1 root www-data 10011 4월 12 17:14 CONTRIBUTOR_LICENSE_AGREEMENT.html
-rw-rw---- 1 root www-data 631 4월 12 17:14 COPYING.txt
drwxrwx--- 4 root www-data 4096 4월 12 17:14 dev
-rw-rw---- 1 root www-data 2926 4월 12 17:14 Gruntfile.js
-rw-rw---- 1 root www-data 1358 4월 12 17:14 index.php
drwxrwx--- 4 root www-data 4096 4월 12 17:14 lib
-rw-rw---- 1 root www-data 10376 4월 12 17:14 LICENSE_AFL.txt
-rw-rw---- 1 root www-data 10364 4월 12 17:14 LICENSE.txt
-rw-rw---- 1 root www-data 4108 4월 12 17:14 nginx.conf.sample
-rw-rw---- 1 root www-data 1427 4월 12 17:14 package.json
-rw-rw---- 1 root www-data 804 4월 12 17:14 php.ini.sample
drwxrwx--- 2 root www-data 4096 4월 12 17:14 phpserver
drwxrwx--- 6 root www-data 4096 4월 12 17:14 pub
-rw-rw---- 1 root www-data 4388 4월 12 17:14 README.md
drwxrwx--- 7 root www-data 4096 4월 12 17:14 setup
drwxrwx--- 7 root www-data 4096 4월 12 17:14 update
drwxrwx--- 9 root www-data 4096 4월 12 17:22 var
drwxrwx--- 27 root www-data 4096 4월 12 17:14 vendorx

 

and also

 

below is my /var/www/html folder permission lists :

 

-rw-r--r-- 1 root www-data 51 4월 7 03:42 hello.html
-rw-r--r-- 1 root www-data 11510 4월 7 02:14 index.html
-rw-r--r-- 1 root www-data 21 4월 8 10:51 index.php
drwxrwx--- 12 root www-data 4096 4월 12 17:14 magento2
drwxr-xr-x 2 root www-data 4096 4월 12 01:19 phphp

 

 

 

Can anyone help?

 

3 REPLIES 3

Re: Secure admin page is blocked.

Magento backend does not work on the top-level domains (like localhost).

Re: Secure admin page is blocked.

I am having the same problem on almost the same machine setup.  Am new to Magento and thinking of switching my store to it.  Not all that technical but can get by.  Not sure what you mean that back end will not work with top domain like Localhost.  Have to get working on a local server or Ubuntu laptop to build store and test before moving to live site.  How do we do this if we can not use localhost. Link to magento files is localhost/magento/

 

Can you tell me how to get this working under localhost

Re: Secure admin page is blocked.

How to setup a second-level local domain for a development environment? https://mage2.pro/t/1254