发新话题
打印

启用.htaccess出现500错误!

启用.htaccess出现500错误!

.htaccess好像没起作用 我开启了服务器的.htaccess功能 结果得到以下结果 我的网站不是放在根目录 所以我加了一句RewriteBase /t/ (t为我的目录名) 问题依旧 希望得到解答!  

Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Apache/2.2.11 (Unix) DAV/2 PHP/5.2.9 Server at bscshop.cn Port 80

我的.htaccess如下
Options All -Indexes
Options +FollowSymLinks
RewriteEngine On
RewriteBase /ty/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php

[ 本帖最后由 xo181 于 2009-11-1 21:39 编辑 ]

TOP

求解....................

TOP

weenCompany即使放在二级目录,也无需设置.htaccess文件,直接使用就可以。
楼主的问题可能是服务器的配置有问题,建议使用其它程序试试。
weenCompany项目组

闻泰网络-开启你的创意生活!

TOP

我的shopex和discuz启用.htaccess后都能正常访问
shopex:http://bscshop.cn discuzhttp://bscshop.cn/bbs
唯独这个不行 以上网站都在同一个服务器上 应该不是服务器问题
希望能够得到weenfier以及其他大侠的解答 谢谢!

TOP

http://bscshop.cn/shop/
http://bscshop.cn/bbs/

以上都是二级目录。将weenCompany也安装在二级目录下测试一下。

提供一下测试网站给大家看,光说不行啥子也看来。
weenCompany项目组

闻泰网络-开启你的创意生活!

TOP

我的weenCompany是安装在二级目录下的
http://www.bscshop.cn/ty/

TOP

什么都不改 出现500错误 无法打开主页
把.htaccess改为root.htaccess后 主页没问题 其他页面出现404问题

TOP

aaa.weentech.com二级域名也没有问题的,二级目录也早测试过了。目前这个情况不清楚原因。
weenCompany项目组

闻泰网络-开启你的创意生活!

TOP

请问能正常开启.htaccess的weentech的htaccess文件是什么?
放在根目录还是二级目录?
aaa.weentech.com用的是5.0 而我的是4.0 请管理员测试4.0

TOP

weenCompany根目录下有个.htaccess文件,不要改这个文件名。
打开这个文件,在其中添加下面一行试试:
RewriteBase  /ty

上面的ty为weenCompany所在的二级目录名。
weenCompany项目组

闻泰网络-开启你的创意生活!

TOP

故弄玄虚,不厚道。

TOP

把.htaccess删了就可以了。

TOP

发新话题
最近访问的版块