cancel
Showing results for 
Search instead for 
Did you mean: 

WAMP server asking for user authorization

WAMP server asking for user authorization

Hi,

I am facing issue in porting our live code base to local host for development purpose and to test locally before uploading the changes on live server.

Magento version : 1.9.2.2 CE

 

 
Steps undertaken to port to local host
1.Took the dump of mysql database and code base.
    copied the codebase in www folder of wamp server under directory named live.
   Dumped the db on public ip machine and it is accessible from each developer machine 
2. Edited app/etc/local.xml file and put correct mysql hostname, username, password, and database name
3.Updated base URL in core_config_data table by executing the following command
   UPDATE core_config_data SET value=”http://127.0.0.1/live/” WHERE path=”web/unsecure/base_url”;
UPDATE core_config_data SET value=”https://127.0.0.1/live/”  WHERE path=”web/secure/base_url”;
 4. edited the .htaccess file to point to local host
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteCond %{REQUEST_URI} !^/\.well-known/pki-validation/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^(.*)$ https://127.0.0.1/live/$1 [R,L]
   Not sure whether this is the correct way
 
 
I have also deleted cache and session content inside var folder
Now when i am trying to enter url : https://127.0.0.1
it is asking for Username and password ,howerver http://127.0.0.1 is working fine.
I am not able to understand which username and password i need to enter.authorization.png
 
If someone can help me this regard, I will be grateful as i am new to magento 
 
 
 
2 REPLIES 2

Re: WAMP server asking for user authorization

Hi @KiranBhushan,

 

Can you check your vhost configuration for HTTPS?

Maybe you have some restriction there?

Re: WAMP server asking for user authorization

Hi Damian,

Thanks for the reply, i will check and get back.

 

Regards

Kiran