在Godaddy的服务器上的Magento的.htaccess问题器上、问题、Godaddy、htaccess

2023-09-02 00:23:31 作者:蝴蝶亲吻猫

我使用的Magento在GoDaddy的共享托管帐户,我刚刚配置,并能够看到的主页,而不是其他的页面,可能是什么问题?任何在.htaccess还是什么?

下面的网址是 HTTP://hiccupsolutions.com.$p$pviewdns.com /演示/

目前的托管路径是

  /家庭/内容/九百四十六万九千二百四十二分之四十二/ HTML
 

解决方案

从 Magento的维基:

  请问godaddy空间的MYSQL域名 用户名和密码在哪儿找呢

有一个常见的​​错误,它通常出现如果您通过GoDaddy的主办,是没有输入文件中指定的错误。

     

如果你没有在你的服务器的根目录Magento的设置,确保以下内容添加到你的.htaccess文件。

     

的RewriteBase / yourbasepath /

     

一旦被证实,有两件事情可以做,以解决这个问题,但我们将开始与一个通常工作。

     

在您的网站根目录,应该有一个叫php.ini文件。重命名这php5.ini。

     

如果没有php5.ini文件。创建文件并上传到你的根目录下。

     

如果不工作,以下内容添加到您刚刚重命名php5.ini文件的末尾:

     

cgi.fix_pathinfo = 1

     

如果你仍然得到错误,以下内容添加到你的.htaccess文件的顶部:

     

选项-MultiViews

     

第一种通常的伎俩。如果您看不到有这个文件,然后创建一个空白php5.ini文件添加上添加第二个建议中列出​​的线路。

     

如果以上所有没有工作,让你的变化,等待正好是24小时。回到youraddress.tld /下载器,然后再试一次。你可能只是缓存,由于某种原因,它需要多一点的时间,然后我来。保持你的下巴!

     

如果上面没有什么工作,打电话GoDaddy的上升,让他们要么改名为你,或者确保你的PHP 5。

顺便说一句这是出现在谷歌的第一个结果的Magento没有指定输入文件。

I am using Magento on a GoDaddy's shared hosting account, I have just configured it and able to see the home page, but not the other pages, What could be the issues ? Anything in .htaccess or what ?

Here is the URL http://hiccupsolutions.com.previewdns.com/demo/

Current Hosting path is

/home/content/42/9469242/html

解决方案

From the Magento wiki :

A common error, which usually comes up if you’re hosted by GoDaddy, is the no input file specified error.

If you do not have Magento setup in the root of your server, make sure to add the following to your .htaccess file.

RewriteBase /yourbasepath/

Once that is verified, there are a couple things you can do to fix this, but we’ll start with the one that usually works.

In your web root directory, there should be a file called php.ini. Rename this to php5.ini.

If there is no php5.ini file. Create the file and upload it to your root directory.

If that doesn’t work, add the following to the end of your newly renamed php5.ini file:

cgi.fix_pathinfo = 1

And if you’re still getting the error, add the following to the top of your .htaccess file:

Options -MultiViews

The first one usually does the trick. If you don’t see this file in there, then create a blank php5.ini file add add the line listed on the second suggestion.

If all of the above has not worked, KEEP your changes, wait exactly 24 hours. Go back to youraddress.tld/downloader and try again. You may just be cached and for some reason it takes a bit longer then I was used to. Keep your chin up!

If nothing above worked, call GoDaddy up and have them either rename this for you, or make sure you’re on PHP 5.

BTW this is first result that comes up on Google for "magento no input file specified".