
Journal Journal: Tips for Apache in Windows
The Apache documentation is written for *nix. The syntax for Apache in Windows is a little different.
Tip #1: "\" will need to be changed to "/"
Example:
c:\temp will need to be changed to c:/temp
Tip #2:
Directories with spaces in them will need quotes (") around them.
Examples:
AuthUserFile "C:/Program Files/passfile"
-- correct
AuthUserFile C:/Program Files/passfile
-- incorrect
AuthUserFile C:/Program Files/Apache Group/Apache/htdocs/.htpasswd
-- incorrect
AuthUserFile "C:/Program Files/Apache Group/Apache/htdocs/.htpasswd"
-- correct