Typecho在Godaddy-Linux服务器上安装后不能登录

讨论程序使用中的问题
回复
Leo
帖子: 28
注册时间: 2010年 4月 8日 13:43
联系:

Typecho在Godaddy-Linux服务器上安装后不能登录

帖子 Leo »

Typecho在Godaddy-Linux服务器上安装后不能登录
空间配置

Operating System:
Linux
Hosting Type:
Shared Hosting
Hosting Configuration:
2.2
PHP Version:
PHP 5.x
SQL Server Databases:
0 Setup of 0 Available
MySQL Databases:
1 Setup of 25 Available
Bandwidth Allotment:
1,500,000 MB
Disk Space Allotment:
150,000 MB
Data Center:
US Regional Data Center
Search Engine Visibility:
Analyze my site

安装后空间里竟然也没有.htaccess,我已经安装了不下五次,昨天以为是空间问题已经把空间升级了还是不行,谁能告诉我这是怎么回事啊,急死我了。
网站地址:http://ushow.info
除了首页外其他页面基本都404,实在无奈了。
头像
zyzzc
帖子: 648
注册时间: 2009年 9月 25日 20:11
联系:

Re: Typecho在Godaddy-Linux服务器上安装后不能登录

帖子 zyzzc »

是不是nginx内核呢?它的重写不需要.htaccess 坛子里刚有热心人分享了nginx下的重写规则,没用过GD主机后台,你找找在哪改进去试试看。。
monface
帖子: 30
注册时间: 2010年 1月 2日 09:11
联系:

Re: Typecho在Godaddy-Linux服务器上安装后不能登录

帖子 monface »

gd的主机不会有nginx吧,没.htaccess传一个上去就可以了撒
share98
帖子: 7
注册时间: 2010年 4月 11日 13:52
联系:

Re: Typecho在Godaddy-Linux服务器上安装后不能登录

帖子 share98 »

我也是这样的事
按默认生成的.htaccess
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php/$1 [L]
</IfModule>
只可以访问首页,其他面页都不能访问,访问时提示 No input file specified.意思为找不到路径,很明显示Rewrite规则没写对,网上搜索了一下,有人说改成下面的形式就可以
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /index.php?/$1 [L]
</IfModule>
改成这样后,是的前台所有页面都正解显示了,但是登陆时还是出错,一输入密码,地址就跳转到http://wang-shu.cn/index.php/action/login这样的链接,然后也是提示No input file specified

Rewrite的规则还是不完全正确,有哪位大大对这个规则比较懂的,怎么写才是正确?
fengyiyi
帖子: 95
注册时间: 2009年 9月 18日 08:35
联系:

Re: Typecho在Godaddy-Linux服务器上安装后不能登录

帖子 fengyiyi »

这篇帖子或许对你有帮助
http://forum.typecho.org/topic.php?id=238
palese
帖子: 149
注册时间: 2009年 9月 9日 18:28
联系:

Re: Typecho在Godaddy-Linux服务器上安装后不能登录

帖子 palese »

GD空间演示:
http://txt.tenmm.com/
装完不能自动生成.htaccess,手动上传一个之后伪静态正常。
Leo
帖子: 28
注册时间: 2010年 4月 8日 13:43
联系:

Re: Typecho在Godaddy-Linux服务器上安装后不能登录

帖子 Leo »

回复