Link to home
Start Free TrialLog in
Avatar of rgb192
rgb192Flag for United States of America

asked on

500 error

how can I log why and what line a 500 error occurred
Avatar of elliottwebsites
elliottwebsites

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.
Avatar of rgb192

ASKER

so, should I enable gzip in php.ini
Avatar of rgb192

ASKER

i am using windows server 2008.. so there is no htaccess
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.
Avatar of rgb192

ASKER

i am using iis7

i am on step2 (find your website under the tree on the left)
And what's the problem...?
Avatar of rgb192

ASKER

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.


Try this location: C:\WINDOWS\system32\Logfiles\W3SVC1
Avatar of rgb192

ASKER

C:\Windows\System32\LogFiles

\HTTPERR
\Scm
\Firewall
\WMI
\WUDF
ASKER CERTIFIED SOLUTION
Avatar of elliottwebsites
elliottwebsites

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rgb192

ASKER

the errors are based on ip address, is there a way to change the error files so it is organized by domain name
Avatar of rgb192

ASKER

thanks