域名显示错误与index.php运行良好

时间:2013-06-10 12:59:17

标签: php compiler-errors

我收到此错误

Warning: include(/var/chroot/home/content/phplib/functions.library.php) [function.include]: failed to open stream: No such file or directory in /home/content/72/10433372/html/index.php on line 9

Warning: include() [function.include]: Failed opening '/var/chroot/home/content/phplib/functions.library.php' for inclusion (include_path='.:/usr/local/php5_3/lib/php') in /home/content/72/10433372/html/index.php on line 9

问题是我输入www.domain.com时没有打开网站,但是当我输入www.domain.com/index.php时工作正常 该网站运行良好至今。 我也尝试重定向到htaccess文件中的index.php但仍然没有消失的错误。我也提供了绝对路径,但仍然是同样的错误。有没有人知道任何其他解决方案。

htaccess文件内容: -

DirectoryIndex index.php

<Files ~ "^\.ht">
  Order allow,deny
  Deny from all
  Satisfy All
</Files>

<FilesMatch "\.(tpl|inc)$">
  Order allow,deny
  Deny from all
  Satisfy All
</FilesMatch>





#php_flag magic_quotes_gpc on 
#php_flag register_globals on




### Rewrite Rules ######################################### 

RewriteEngine on
RewriteRule services/(.*)/(.*)      services/detail.php?i_servicesID=$1
RewriteRule study-abroad/(.*)/(.*)  study-abroad/detail.php?url=$1&about=$2

0 个答案:

没有答案