<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://www.example.com/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.
#
# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the target directory are treated as applications and
# run by the server when requested rather than as documents sent to the
# client. The same rules about trailing "/" apply to ScriptAlias
# directives as to Alias.
#
ScriptAlias /cgi-bin/ "C:/Program Files/xampp/cgi-bin
#add projects directory
Alias /projects "D:/Web Design/"
</IfModule>
#
# "C:/Program Files/xampp/cgi-bin" should be changed to whatever your ScriptAliased
# CGI directory exists, if you have that configured.
#
<Directory "C:/Program Files/xampp/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>
<Directory "D:/Web Design">
Options +Indexes
IndexOptions FancyIndexing IconsAreLinks
Order allow,deny
Allow from all
</Directory>
(note that thats from my windows httpd.conf - the linux one is virtually the same, exactly the same in those areas, except for the directory notation as well as directory to cgi-bin. eg: my directory for the projects alias is /MyDocuments/Web Design.
error_log:
[Thu Aug 10 23:48:28 2006] [error] [client 127.0.0.1] (13)Permission denied: access to /projects denied
[Thu Aug 10 23:48:33 2006] [error] [client 127.0.0.1] (13)Permission denied: access to /projects/ denied
there are a few more of those exactly formed that way with different time stamps.
permissions of the target dir:
file owner: root
file group: plugdev
perms: drwxrwx---
Note that when I'm sudo'd in nautilus as root, i still can't edit those permissions, i don't know exactly. I'm on a ubuntu 6.06 system.
Thanks a lot!