To keep your operating system completely separate from all the web stuff, it is advisable to move inetpub directory off the root of a %SystemDrive% to a completly different drive. In these sample I am moving IIS from C:\inetpub to x:\inetpub. Adjust this to your needs. Steps described here were tested on Windows 7 IIS 7.5 and Windows 2008 Server R2 IIS 7.5. Check if your http://localhost/ is working before proceeding. -01- Stop all IIS-related services Stop services related to IIS: – FTP (if installed) – IIS Admin – SMTP (if installed) – Windows Process Activation (will stop all other IIS services) – WWW (will be stopped by stopping previous…
WordPress Error 500 – Internal server error on Empty Comment
Problem – Embarrassing Error 500 I am running latest Word Press 3.0.1 on IIS 7.0. If visitor tries to leave an empty comment or forgets to enter name or email, an ugly 500 – Internal server error will appear on the screen. This is extremely embarrassing for the host and for the site. I approximately know that I have three ways to approach this problem: – Disable error 500 on IIS side to allow WordPress to handle it; – Lower level of error generated in WordPress code (IIS will not catch it then) or – Write a local JavaScript to prevent user from posting with empty fields. Solution – One click in…
Read more »