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:
What to do so that Apache can work with NTFS partition? Where is the problem? It normally works with default /var/www path.
Thanks.


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 |
Thanks.