I'm trying to share data between two OSs.
Setup:
Single-user PC with LinkSys router and ADSL access.
/mnt/win_d is the partition that I am sharing between Windows 98SE and Mandrake 10.0 Linux
Apache 2.0 web server on Mandrake Linux side
I've set up the default server to have aliases in /etc/httpd/2.0/commonhttpd.conf:
Alias /win/cgi-bin/ /mnt/win_d/html/cgi-bin/
Alias /win/ /mnt/win_d/html/
I set up default server directories in /etc/httpd/2.0/httpd.conf as:
<Directory /mnt/win_d/html>
AllowOverride All
Options MultiViews -Indexes Includes FollowSymLinks
<IfModule mod_access.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
<Directory /mnt/win_d/html/cgi-bin>
Options +ExecCGI -Includes -Indexes
SetHandler cgi-script
<IfModule mod_access.c>
Order allow,deny
Allow from all
</IfModule>
</Directory>
Now when I go to
http://localhost/win/ I get this:
403 Forbidden
You don't have permission to access /win/ on this server.
The /var/log/httpd/error_log file shows this:
[error] [client 127.0.0.1] client denied by server configuration: /mnt/win_d/html/
Now, the permissions for that directory are: drwxrwxrwx with user/group both root.
unmounting and changing the user to apache and remounting changes the user back to root again.
HOW do I get it so I can access the files on the win_d partition? I NEED to do this as I need to work in both linux and windows side with the same data.