Quantcast
Channel: Redino blog
Viewing all articles
Browse latest Browse all 80

The URL is not accessible when installing Magento

$
0
0

When installing Magento, we may get such error “The URL is not accessible”.

In some earlier versions of Magento, we can fix this problem by change code of app/code/core/Mage/Install/Model/Installer/Config.php
Just change

$client = new Varien_Http_Client($url . $prefix);

to

$client = new Varien_Http_Client($url . 'index.php/' . $prefix);

Will solve the problem. It’s because that the URL rewriting doesn’t work for some reasons. (Magento uses .htaccess files to add URL rewriting rules)

 

But in Magento 1.9, checking the “Skip the base url validation” option will solve this problem

The post The URL is not accessible when installing Magento appeared first on Redino blog.


Viewing all articles
Browse latest Browse all 80

Trending Articles