2014-01-18 47 views
0

Php项目仍在昨天工作,当我打开它时显示404错误。
在/ etc/apache2/sites-available /新的交换文件出现我删除并再次启动apache2服务器仍然无法正常工作。 当我打开日志它显示:SIGTERM钓到,关停[声明]的Apache/2.2.22(Ubuntu的)PHP/5.4.9-4ubuntu2.4配置 - 恢复正常操作
虚拟主机文件我的php项目未在本地ubuntu机器上运行

<VirtualHost dev.eurofir:81> 
    ServerAdmin [email protected] 
    ServerName localhost:80 
    DocumentRoot /var/www/dev.eurofir/public 
    <Directory /> 
      Options FollowSymLinks 
      AllowOverride None 
      Order deny,allow 
      Deny from all 
    </Directory> 
    <Directory /var/www/dev.eurofir/> 
      Options Indexes FollowSymLinks 
      AllowOverride all 
      Order allow,deny 
      allow from all 
    </Directory> 

    ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ 
    <Directory "/usr/lib/cgi-bin"> 
      AllowOverride None 
      Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch 
      Order allow,deny 
      Allow from all 
    </Directory> 

    ErrorLog ${APACHE_LOG_DIR}/error.log 

    # Possible values include: debug, info, notice, warn, error, crit, 
    # alert, emerg. 
    LogLevel warn 

    CustomLog ${APACHE_LOG_DIR}/access.log combined 
</VirtualHost> 
+0

尝试备份您的项目,重新安装本地服务器,然后尝试再次运行它。 – rullof

回答

1

请检查你的/ etc /主机,并提供我像httpd.conf文件的详细信息,如果您有任何虚拟主机配置

+0

我已添加我的虚拟主机文件详细信息 – Anusha

+0

在这里我必须添加81而不是80 谢谢谁试图帮助我.. :) – Anusha

相关问题