Subversion via Apache
http://svn.spears.at/ is a straightforward guide to installing multiple subversion repositories and serving them via Apache.
I ran into one problem during installation - I downloaded a zip file containing subversion from tigris.org, and unzipped it into my Program Files\Subversion directory. The Apache service would not start. Since I was not using the installer I also had to add Program Files\Subversion\bin to my PATH.
The error in the event log appeared as:
Event Type: Error
Event Source: Apache Service
Event Category: None
Event ID: 3299
Date: 12/20/2008
Time: 5:19:33 PM
User: N/A
Computer: ********
Description:
The Apache service named reported the following error:
>>> httpd.exe: Syntax error on line 127 of C:/.../Apache2.2/conf/httpd.conf: Cannot load C:/.../Apache2.2/modules/mod_dav_svn.so into server: The specified module could not be found
This was despite it existing in the Apache2.2/modules directory.
Use the CALL command when nesting batch files
When nesting batch files, you must use the CALL command
first.bat
echo Begin first.bat CALL second.bat echo End first.bat
If the "CALL" command is not used, "echo End first.bat" will never be executed.
Daily or Hourly MySQL database backups on the command line in Windows
for /f "tokens=2,3,4,5,6 delims=/: " %%a in ("%date% %time%") do set timestamp=%%c-%%b-%%a-%%d-%%e
mysqldump -u DatabaseUsername -pPassword TheDatabaseName > C:\Archive\TheDatabaseName-%timestamp%.sql
References: http://technet.microsoft.com/en-au/library/bb490909.aspx
Location of IIS Logs – IIS 6.0
By default, IIS logs are located in %SystemRoot%\system32\LogFiles
If you need to know the value of the environment variable %SystemRoot%, open a command prompt and type "echo %SystemRoot%"
Other environment variables are listed here http://en.wikipedia.org/wiki/Environment_variable#Examples_from_Microsoft_Windows