Hi All,
Sorry if this post is obvious, but I'm a newbie to Apache and I used to use IIS, but got bored of patching it every month!
OS = Windows, Server = Apache 1.3
I need to share a directory which is NOT the document root, but lies elsewhere on the hard disk. I would like this directory to be browsable and readable, but not writable.
The directory I need to share is: C:\My Documents\Music
The Document Root is currently: C:\Websites
I have tried the following:
DocumentRoot "C:/Websites/"
<Directory "C:/My Documents/My Music">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
However, when I point my browser at: ", I get error 404.
The other sites folders are being served perfectly and I have NO .htaccess files.
How can I make the "my Music" directory 'webshared'?
Any help on this one would be very much appreciated.
Thanks to all who reply,
James.
Sorry if this post is obvious, but I'm a newbie to Apache and I used to use IIS, but got bored of patching it every month!
OS = Windows, Server = Apache 1.3
I need to share a directory which is NOT the document root, but lies elsewhere on the hard disk. I would like this directory to be browsable and readable, but not writable.
The directory I need to share is: C:\My Documents\Music
The Document Root is currently: C:\Websites
I have tried the following:
DocumentRoot "C:/Websites/"
<Directory "C:/My Documents/My Music">
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
However, when I point my browser at: ", I get error 404.
The other sites folders are being served perfectly and I have NO .htaccess files.
How can I make the "my Music" directory 'webshared'?
Any help on this one would be very much appreciated.
Thanks to all who reply,
James.