Forum Moderators: phranque

Message Too Old, No Replies

Need help with Mod Alias

         

benjamin11189

5:54 pm on Jan 30, 2008 (gmt 0)

10+ Year Member



Hey everyone, I have been trying to alias several directories to the webroot. in my webroot folder i have several directories for users, example user1, user2, user3, etc. and when my hard drive gets full i want to be able to move some of the users to another hard drive, and still allow the moved directories to work. i have tried using an alias to achieve this and also aliasmatch, but i have not been able to get this to work. Here is the alias code ive been playing with:

AliasMatch ^/(.*) D:/$1

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

so as you can see, i have users in the main webroot, and i would also like to include more users from my "D" hard drive. I am wondering if this is possible with alias or aliasmatch, or is there some other way to do this that i dont know about. Any help on this would be greatly appreciated.

jdMorgan

4:24 pm on Feb 7, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I think your options on the Windows OS are limited. Maybe someone else has something more helpful to post... :)

(Bump)

Jim