Configuring web server to map requests to directory
I can't properly configure my web server to map requests to the directory where I intend to store the files for my website. Its apache and I get the following message when I go to the home page:
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
However when I go to any file I uploaded using filezilla, I get this message:Not Found
The requested URL /install was not found on this server.
Apache/2.2.14 (Ubuntu) Server at
Any help is greatly appreciated.
Thanks,
Ade
1 Reply
Open /etc/apache2/sites-available/default and pay close attention to the "DocumentRoot" line. This is the directory where Apache will look for your website files.
Also, enable the rewrite mod:
a2enmod rewrite
/etc/init.d/apache2 restart