I am running apache 1.3 on my home machine. Is it possible to have more than one /htdocs/ ?
I want to be able to share a folder thats on a different drive than /htdocs/, it is not possible for me to move the folder due to lack of space.
Thanks
Azaar
| SitePoint Sponsor |


I am running apache 1.3 on my home machine. Is it possible to have more than one /htdocs/ ?
I want to be able to share a folder thats on a different drive than /htdocs/, it is not possible for me to move the folder due to lack of space.
Thanks
Azaar


Why don't you make junction point from /htdocs/ to another drive...then folder on another drive (or entire drive) can be a sub folder on /htdocs.
Is your apache running on windows or linux?
Vivvo CMS - Web publishing at your fingertips
Mile voli disko, a ja belo kolumbijsko


im running win 2k, i dont know what a junction point is..


well, it's a concept derived from linux(unix), where you can, for example, mount physical or logical drives an see them as folders (inside other folders). you can have, let's say, folder c:\test . inside 'test' you can have mounted folder /subtest, which is actually some drive/folder physically located on other drive, but you see it as 'ordinary' folder inside /test/.
If you lack of free space, junction points are the easiest way to 'expand' your disk space...
since you have win2k, try Link Magic 1.0, www.rekenwonder.com (it's freeware)
not sure, but I think junction points can work only on ntfs volumes...
Vivvo CMS - Web publishing at your fingertips
Mile voli disko, a ja belo kolumbijsko


cool, thats a great help, thanks
system is on ntfs anyway so no worries there
You can use the Alias directive within your httpd.conf:
Alias /folder/ d:/path/to/another/drive/
so asking for www.example.net/folder/file.php
apache will serve files from d:/path/to/another/drive/file.php
and not from your current document root
remember to set ``allow permissions'' for d:/path/to/another/drive/
![]()
Bookmarks