Reputation: 151206
Nowadays when running WAMP or MAMP (or the default web server on a Mac), whenever there is error from the CGI file (such as Ruby or PHP), the error message is not shown (and no line number either). Is there a way to run the web server in a shell so that any error message is shown?
The one I am trying to show is on a Mac's built-in web server. (maybe it is a little different in other MAMP or WAMP platforms)
Upvotes: 0
Views: 339
Reputation: 35341
You can find the errors of CGI scripts in /var/log/apache2/error_log for the default web server on apache.
You can view realtime results using :
tail -f /var/log/apache2/error_log
Upvotes: 2