[提问]
delux空间添加第二个域名出问题,大家帮帮忙
|
|
Delux空间+SSL+域名,安装的wordpress
不过出问题的是今天新添加的域名,之前那个和空间绑定的主域名没有问题。今天新添加的域名起初按照步骤设置好以后,访问是正常的不过是访问到主域名那个网站去了嘿嘿,我也不晓得哪里出问题了,然后就重新把新域名绑定空间的时候根目录设置成了/*****
然后点击www.新域名.com 和www.新域名.com/*****都是错误了哈
然后根据你们的解释去设置500错误,我的默认选项里面没有PHP 5.X这个选项 我选了5.2.x 设置后还是不行
访问www.新域名.com时出现的:
Forbidden
You don't have permission to access / on this server.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Apache Server at www.新域名.com Port 80
客服给出的解决方案是:
Resolution:
Be sure to upload .htaccess files in ASCII mode
Set the permissions to 644, which makes it usable by the server, but prevents it from being read from a browser.
If you are trying to make changes to PHP settings, be sure to make said changes to the php.ini or php5.ini file (depending on the version you are using).
我看的懂英文,但是我是菜鸟我不晓得真正是如何操作哈哈哈,大家帮我啦。
我的理解是这样的,
1. 我的根目录是有.htaccess的,但是我的新站点是根目录下的一个文件夹绑定的,我要不要在那个文件夹里面整一个?
2. 然后我看了根目录下面的权限本来就是644
3. be sure to make said changes to the php.ini or php5.ini file 这个我也把php.ini改成644了
情况还是一样.....老样子, 我改怎么办???
下面是全封邮件:
Error Message:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, support@supportwebsite.com 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 mydomain.com Port 80
Cause:
This error can be caused by a variety of issues but is most likely caused by a corrupt .htaccess file. Check to see if there is an .htaccess file in the directory where the error is being generated or any directory above in the tree. If so, temporarily rename the .htaccess file and refresh the page. If the error does not reappear, the .htaccess file is the issue. Repair the file or leave it disabled.
Most of the time .htaccess issues are caused by trying to overwrite PHP settings, being uploaded in binary format or permissions issues. |
|
|
|
|
|
|
|
|
|
|
yuezhuirenjian
发表于 2011-12-8 22:34:17
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
yuezhuirenjian
发表于 2011-12-9 08:02:00
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
yuezhuirenjian
发表于 2011-12-9 08:53:31
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
lwbo1987
发表于 2011-12-9 09:28:04
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
yuezhuirenjian
发表于 2011-12-9 09:38:26
|
显示全部楼层
回复 5# 的帖子
|
斑竹真是贵人多忘事.....设置权限的问题已经尝试过了 |
|
|
|
|
|
|
|
|
|
|
lwbo1987
发表于 2011-12-9 09:40:58
|
显示全部楼层
回复 6# 的帖子
你联系客服的回复就是让你修改读写权限,如果还是不可以,在php5.ini里面加入以下代码看看:- auto_globals_jit = On
- register_globals = On
- register_long_arrays = Off
- sockets.use_system_read = On
- report_memleaks = on
- short_open_tag = on
- default_socket_timeout = 60
- magic_quotes_gpc = on
- ignore_repeated_source = on
- magic_quotes_gpc = on
- allow_url_fopen = on
- cgi.fix_pathinfo = 1
- max_execution_time= 60
- mysql.allow_persistent = On
- mysql.max_persistent = -1
- mysql.max_links = -1
- mysqli.max_links = -1
- enable_dl = on
- display_errors = on
- date.timezone = Asia/Shanghai
- memory_limit = 64M
- post_max_size = 120M
- file_uploads = On
- upload_max_filesize = 120M
- expose_php = On
- max_input_time = 60
- variables_order = "EGPCS"
- extension_dir = ./
- upload_tmp_dir = /tmp
复制代码 |
|
|
|
|
|
|
|
|
|
|
yuezhuirenjian
发表于 2011-12-9 10:42:50
|
显示全部楼层
|
|
|
|
|
|
|
|
|
|
暮木娃娃
发表于 2011-12-9 10:46:16
|
显示全部楼层
|
|
|
|
|
|
|
|