[提问]
请教版主,关于.htacces文件奇怪问题,谢谢
|
|
我有2个网站,2个网站相同程序
网站1,是建在根目录下,完全正常.
另一个建在非根目录,一般目录里,网站2,
网站2能打开首页,但点接任何其它页面链接,都出现如下报错
我屏蔽了.htacces文件,网站2就正常了,但在使用中会出现一些问题
请教版主,2个网站相同程序,一个建在非根目录,一个在一般非目录里,为什么会错误?如何解决问题
如下报错
nternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator 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/1.3.33 Server at ok.123.com Port 80 |
|
|
|
|
|
|
|
|
|
|
lwbo1987
发表于 2011-5-30 15:26:43
|
显示全部楼层
|
楼主的是什么方案,可以直接绑定域名(非主域名)到网站子目录下,然后就可以访问的 |
|
|
|
|
|
|
|
|
|
|
toy
发表于 2011-5-30 15:26:50
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
lwbo1987
发表于 2011-5-30 15:30:28
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
toy
发表于 2011-5-30 15:30:44
|
显示全部楼层
我是建在到网站子目录下,能打开首页,但点接任何其它页面链接,都出现如上报错.
屏蔽了.htacces文件,网站就正常了,但在使用中会出现问题
建在根目录下,完全正常,
请版主仔细看我楼顶帖子
网站2是用的非主域名,如网站1主域名是123.com 网站2是OK.123.COM
[ 本帖最后由 toy 于 2011-5-30 03:34 PM 编辑 ] |
|
|
|
|
|
|
|
|
|
|
lwbo1987
发表于 2011-5-30 15:35:08
|
显示全部楼层
|
|
|
|
|
|
|
|