500 error

how can I log why and what line a 500 error occurred
LVL 1
rgb192Asked:
Who is Participating?
 
elliottwebsitesCommented:
Look in HTTPERR. Should show the reason for the 500 error.
0
 
elliottwebsitesCommented:
Have you got a .htaccess file present?
Try deleting (or renaming it) to see what happens.
Also, incorrect g-zipping the PHP files can cause this.
0
 
rgb192Author Commented:
so, should I enable gzip in php.ini
0
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

 
rgb192Author Commented:
i am using windows server 2008.. so there is no htaccess
0
 
elliottwebsitesCommented:
Have a look at your log files. You can find them like this:
Go to Start -> Control Panel -> Administrative Tools
Run Internet Information Services (IIS).
Find your Web site under the tree on the left.
Right-click on it and choose Properties.
On the Web site tab, you will see an option near the bottom that says "Active Log Format." Click on the Properties button.
 
At the bottom of the General Properties tab, you will see a box that contains the log file directory and the log file name. The full log path is comprised of the log file directory plus the first part of the log file name.
0
 
rgb192Author Commented:
i am using iis7

i am on step2 (find your website under the tree on the left)
0
 
elliottwebsitesCommented:
And what's the problem...?
0
 
rgb192Author Commented:
i am on step3 (find your website under the tree on the left)
and i cant do step4 and step5
•Right-click on it and choose Properties.


•On the Web site tab, you will see an option near the bottom that says "Active Log Format." Click on the Properties button.


0
 
elliottwebsitesCommented:
Try this location: C:\WINDOWS\system32\Logfiles\W3SVC1
0
 
rgb192Author Commented:
C:\Windows\System32\LogFiles

\HTTPERR
\Scm
\Firewall
\WMI
\WUDF
0
 
rgb192Author Commented:
the errors are based on ip address, is there a way to change the error files so it is organized by domain name
0
 
rgb192Author Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.