cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with installing Magento 2 on godaddy (.htaccess file)

Issue with installing Magento 2 on godaddy (.htaccess file)

Hi All,

 

I am facing an error while, I am trying to setup Magento 2 on godaddy.com. After making desired changes for PHP CLI version, when, I am trying to setup Magento, I am getting an error  in the browser window " The server encountered an internal error or misconfiguration and was unable to complete your request. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request."

 

When, I rename .htaccess file, setup works fine. I am not sure, if it is fine to rename the .htaccess file or now,

 

Apprecciate your time and help.

 

Thanks,

 

 

2 REPLIES 2

Re: Issue with installing Magento 2 on godaddy (.htaccess file)

Hi @ChetanG,

 

Maybe there is an error on your htaccess file definitions.

If you got an error 500 you should be able to find a specific message into the Apache error log of your server.

I guess you'll find a clue into that log file.

Re: Issue with installing Magento 2 on godaddy (.htaccess file)

Hi,

 

Basically it is problem with godaddy hosting.magento2 having mod version, but godaddy didn't support module version. so please remove <if version> from all .htaccess files then you can start installation...

 

<IfVersion < 2.4>
            order allow,deny
            deny from all
</IfVersion>
<IfVersion >= 2.4>
           Require all denied
</IfVersion>

 

 

After removing version 


order allow,deny
deny from all
Require all denied

 

Thank you