Question

Php project is working still yesterday.today when i open it shows 404 error.
in /etc/apache2/sites-available/ new swap file is appeared i removed and started the apache2 server again still it is not working. When i open logs it shows: caught SIGTERM, shutting down[notice] Apache/2.2.22 (Ubuntu) PHP/5.4.9-4ubuntu2.4 configured -- resuming normal operations
virtual host file

<VirtualHost dev.eurofir:81>
    ServerAdmin webmaster@localhost
    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>
Was it helpful?

Solution

please check your /etc/host and provide me more information like httpd.conf and if you have any virtual host configuration

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top