Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
Apache

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

User Journal

Journal Journal: Share your harddrive with everyone using Apache

Alias /stuff/ "C:/"

<Directory "C:/">
                Options Indexes FollowSymlinks MultiViews
                AllowOverride None
                Order allow,deny
                Allow from all
</Directory>

The above is for Apache on Windows but the *nix version is similar.

Slashdot Top Deals

The test of intelligent tinkering is to save all the parts. -- Aldo Leopold

Working...