Page 1 of 1

Change the Location of Document Root into Windows Partition

PostPosted: 28. May 2013 03:18
by Jati Nurohman
Hi everybody, can i use my windows partition to place my document root? i wanna change my document root into my windows partition, i have tried to use symlink, and also manually change it, but I always got same problems, "access forbidden". but when the document root is placed in htdocs on /opt, i didnt get a problem. (i use Linux Mint Debian Edition and Windows 7/Dual Boot). can anybody help me? thanks.

Re: Change the Location of Document Root into Windows Partit

PostPosted: 28. May 2013 23:03
by Nobbie
Of course you can set DocumentRoot to the Windows Partition. But you should not use symlink, simply point to the mountpoint and folder you need.

And most important (and this is quite surely the problem): the UserID which executes Apache (see "User" in httpd.conf) MUST HAVE sufficient rights in the filesystem to access the partition.

Re: Change the Location of Document Root into Windows Partit

PostPosted: 29. May 2013 01:20
by Jati Nurohman
Yes, i have tried not to use symlink and i just place the document root in windows partition mount point, but after that, i still found a problem, "access forbidden".

for your solution for configure the user, i still not understand, can u give me step by step to do that? thanks