Welcome Guest, Not a member yet? Register   Sign In
Internal Server Error Lamp
#1

[eluser]jairoh_[/eluser]
Hi everyone, as i setup my site in the local server w/ the base_url of http://127.0.0.1/wine-foundation, it showed an error:
Quote:Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@localhost.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/2.2.22 (Ubuntu) Server at 127.0.0.1 Port 80
any idea how to solve this error? i have this /etc/apache2/sites-available/default
Code:
<VirtualHost *:80>
        ServerAdmin [email protected]

        DocumentRoot /var/www
        <Directory />
                Options FollowSymLinks
                AllowOverride None
        </Directory>
        <Directory /var/www/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>

        ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
        <Directory "/usr/lib/cgi-bin">
                AllowOverride All
                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>

tnx.
#2

[eluser]byde[/eluser]
could you post /etc/apache2/error.log ??
#3

[eluser]jairoh_[/eluser]
[quote author="byde" date="1384789377"]could you post /etc/apache2/error.log ??[/quote]
was able to locate it Sad
Code:
root@jairoh-300E4C-300E5C-300E7C:/etc/apache2# ls
apache2.conf  envvars     magic           mods-enabled  sites-available
conf.d        httpd.conf  mods-available  ports.conf    sites-enabled
root@jairoh-300E4C-300E5C-300E7C:/etc/apache2#
#4

[eluser]CroNiX[/eluser]
look in /var/log or /var/log/apache2
#5

[eluser]jairoh_[/eluser]
[quote author="CroNiX" date="1384832352"]look in /var/log or /var/log/apache2
[/quote]
here it is sir:
Code:
[Mon Nov 18 10:57:34 2013] [error] [client 127.0.0.1] File does not exist: /var/www/l4-tatumi/public/home, referer: http://l4-tatumi.com/
[Mon Nov 18 10:58:07 2013] [notice] caught SIGTERM, shutting down
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/ming.ini on line 1 in Unknown on line 0
[Mon Nov 18 10:58:08 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.9-4ubuntu2.3 configured -- resuming normal operations
[Mon Nov 18 10:58:34 2013] [error] [client 127.0.0.1] File does not exist: /var/www/l4-tatumi/public/home
[Mon Nov 18 11:01:27 2013] [notice] caught SIGTERM, shutting down
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/ming.ini on line 1 in Unknown on line 0
[Tue Nov 19 09:52:48 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.9-4ubuntu2.3 configured -- resuming normal operations
[Tue Nov 19 10:50:19 2013] [alert] [client 127.0.0.1] /var/www/wine-foundation/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Tue Nov 19 10:50:19 2013] [error] [client 127.0.0.1] File does not exist: /var/www/l4-tatumi/public/home
[Tue Nov 19 10:50:20 2013] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Tue Nov 19 11:29:56 2013] [notice] caught SIGTERM, shutting down
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/apache2/conf.d/ming.ini on line 1 in Unknown on line 0
[Tue Nov 19 12:28:24 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.9-4ubuntu2.3 configured -- resuming normal operations
[Tue Nov 19 12:31:42 2013] [alert] [client 127.0.0.1] /var/www/wine-foundation/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Tue Nov 19 12:31:42 2013] [error] [client 127.0.0.1] File does not exist: /var/www/l4-tatumi/public/home
[Tue Nov 19 12:31:44 2013] [error] [client 127.0.0.1] File does not exist: /var/www/favicon.ico
[Tue Nov 19 13:15:20 2013] [error] [client 127.0.0.1] File does not exist: /var/www/l4-tatumi/public/home
[Tue Nov 19 13:15:24 2013] [alert] [client 127.0.0.1] /var/www/wine-foundation/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
jairoh@jairoh-300E4C-300E5C-300E7C:/var/log/apache2$  2013] [error] [client 127.0.0.1] File does not exist: /var/www/l4-tatumi/public/home
2013]: command not found
jairoh@jairoh-300E4C-300E5C-300E7C:/var/log/apache2$ [Tue Nov 19 13:15:24 2013] [alert] [client 127.0.0.1] /var/www/wine-foundation/.htaccess: Invalid command 'RewriteEngine', perhaps misspelled or defined by a module not included in the server configuration
[Tue: command not found
#6

[eluser]CroNiX[/eluser]
The last line sums it up, RewriteEngine isn't available. Is it enabled on the server?
#7

[eluser]jairoh_[/eluser]
[quote author="CroNiX" date="1384840045"]The last line sums it up, RewriteEngine isn't available. Is it enabled on the server?[/quote]
thankyou sir. that solved the problem.




Theme © iAndrew 2016 - Forum software by © MyBB