Article 58HEX Pointing www path to NTFS partition in Apache

Pointing www path to NTFS partition in Apache

by
Koles
from LinuxQuestions.org on (#58HEX)
Hi. I have newest Apache on my Kali and I wanted to point www to some folder on NTFS partition which I have mounted using ntfs-3g (it is writable). I want to share files with Windows, this is the reason I'm doing this.

I did the following:

/etc/apache2/sites-enabled/000-default.conf :

Code:DocumentRoot /media/borys/Windows7_OS/localhost/www//etc/apache2/apache2.conf

Code:<Directory /media/borys/Windows7_OS/localhost/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>When I restart apache service, then I still see this on http://localhost :

Quote:
Forbidden
You don't have permission to access this resource.

Apache/2.4.46 (Debian) Server at localhost Port 80
What to do so that Apache can work with NTFS partition? Where is the problem? It normally works with default /var/www path.
Thanks.latest?d=yIl2AUoC8zA latest?i=Ym1hyFu99bA:XzmGR1u7H18:F7zBnMy latest?i=Ym1hyFu99bA:XzmGR1u7H18:V_sGLiP latest?d=qj6IDK7rITs latest?i=Ym1hyFu99bA:XzmGR1u7H18:gIN9vFwYm1hyFu99bA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments