C:\windows\system32\config\system missing or corrupt
Posted on December 4, 2008
Filed Under Windows | Leave a Comment
Tonight when I started the computer, it crashed on me with the following message. I had no problem with it this morning, when I check gmail and did a normal shutdown.
1 2 3 4 5 6 7 8 9 10 | Windows could not start because the following file is missing or corrupt C:\windows\system32\config\system You can attempt to repair this file by starting windows setup using the original setup CD-Rom. Select "r" at the first screen to start repair. Do NOT use an OEM "Recovery Disc". Only a valid Windows XP media will work or a disc from the OEM that says "Operating System" may sometimes work depending on how the manufacturer labeled the CD. |
I was so puzzled since I wanted to continue with some work I left unfinished at office, and it was bit urgent. I’ve no time to reinstall the machine or restore it from the ghost file. I googed a bit if someone else had the same problem I had and found a simple solution that fixed it.
I booted the computer with Windows XP installation CD and got to the Recovery Console and typed chkdsk /p. Wala I’m done.
Enabling mod_rewrite in Apache 2
Posted on August 24, 2008
Filed Under Apache, PHP, Windows | Leave a Comment
Enable the mod_rewrite module by uncommenting it from the httpd.conf file.
1 | LoadModule rewrite_module modules/mod_rewrite.so |
Enable .htaccess configurations by setting AllowOverride to All for the DocumentRoot directory.
1 2 3 4 5 6 7 8 9 10 11 12 | <Directory "C:/www"> Options Indexes FollowSymLinks # AllowOverride controls what directives may be placed # in .htaccess files. It can be "All", "None", or any # combination of the keywords: # Options FileInfo AuthConfig Limit AllowOverride All Order allow,deny Allow from all </Directory> |