use*_*919 0 apache .htaccess server
我在godaddy中拥有域,并且我试图在专用服务器中安装脚本或尝试访问我的域righttimematrimony.com,但该域未加载并显示错误。一次,我的网站加载并显示sci-bin文件夹,将数据上传到服务器并尝试访问我的网址后,但显示了很多错误。请有人帮助我现在该怎么办。
这是在Cpanel->错误日志中的错误日志中的数据。
[Mon Dec 29 04:14:23 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:14:23 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:14:05 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:14:05 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:14:03 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:14:03 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:14:01 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:14:01 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:13:57 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:13:57 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:12:58 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:12:58 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:12:50 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:12:50 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:12:43 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:12:43 2014] [alert] [client 106.66.138.199] /home/right/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration
[Mon Dec 29 04:04:13 2014] [error] [client 106.66.138.199] File does not exist: /home/right/public_html/403.shtml, referer: http://righttimematrimony.com/
[Mon Dec 29 04:04:13 2014] [error] [client 106.66.138.199] attempt to invoke directory as script: /home/right/public_html/cgi-bin/, referer: http://righttimematrimony.com/
[Mon Dec 29 04:04:08 2014] [error] [client 106.66.138.199] File does not exist: /home/right/public_html/404.shtml
[Mon Dec 29 04:04:08 2014] [error] [client 106.66.138.199] File does not exist: /home/right/public_html/favicon.ico
[Mon Dec 29 04:04:00 2014] [error] [client 106.66.138.199] File does not exist: /home/right/public_html/404.shtml
[Mon Dec 29 04:04:00 2014] [error] [client 106.66.138.199] File does not exist: /home/right/public_html/favicon.ico
Run Code Online (Sandbox Code Playgroud)
看一下此链接:http : //forums.cpanel.net/f5/invalid-command-php_value-perhaps-mis-spelled-defined-module-not-included-184931.html
您正在使用suPHP,因此无法在.htaccess文件中使用以下指令:php_flag,php_admin_flag,php_value,php_admin_value。您也不能在httpd.conf文件中使用这些指令。它们仅在将DSO用作PHP处理程序时才有效。
而是使用自定义php.ini文件。将/usr/local/lib/php.ini复制到需要自定义PHP值的目录,然后在“本地” php.ini文件中自定义PHP值。请注意,自定义php.ini文件中的值未“继承”到子目录。如果将自定义php.ini文件放在/ home / someuser / public_html中,则/ home / someuser / public_html / somesubdir将不会继承其设置。/ home / someuser / public_html / somesubdir将需要其自己的自定义php.ini文件。
| 归档时间: |
|
| 查看次数: |
15687 次 |
| 最近记录: |