Anyone with a keen eye for mistakes around? I'm trying to do some work on my Apache server (Win32) without much luck:
Code:
<IfModule alias_module>
#
# Redirect: Allows you to tell clients about documents that used to
# exist in your server's namespace, but do not anymore. The client
# will make a new request for the document at its new location.
# Example:
# Redirect permanent /foo http://Zoidberg/bar
#
# Alias: Maps web paths into filesystem paths and is used to
# access content that does not live under the DocumentRoot.
# Example:
# Alias /webpath /full/filesystem/path
#
# If you include a trailing / on /webpath then the server will
# require it to be present in the URL. You will also likely
# need to provide a <Directory> section to allow access to
# the filesystem path.
<Directory "C:/Documents and Settings/Admin/My Documents">
Alias /emptytest1 /foldertest/test2
</Directory>
Hopefully it seems quite simple to see what I'm trying to do - I'm trying to point
http://server/emptytest1 to C:/Do'Settings/Admin/MyDocuments/foldertest/test2
However, every time I try and restart the server with this config, it reports an error until I remove the "Alias /" line - the <Dir> and </Dir> lines are fine.
Any ideas?