Linode Forum Index Linode Forum
Linode Community Forums
 


Configuring web server to map requests to directory

Click here to go to the original topic

 
       Linode Forum Index -> Web Servers and Web App Development
Author Message
adhbrown



Joined: 06 Feb 2012
Posts: 2

Posted: Mon Feb 06, 2012 11:35 am    Post subject: Configuring web server to map requests to directory  

Hey guys,

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 www.videoloco.in Port 80

Any help is greatly appreciated.

Thanks,

Ade
Back to top  
hybinet



Joined: 02 May 2008
Posts: 1058

Posted: Mon Feb 06, 2012 1:03 pm    Post subject:  

Where did you upload your files to?

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:
Code: a2enmod rewrite
/etc/init.d/apache2 restart
Back to top  
 
       Linode Forum Index -> Web Servers and Web App Development
Page 1 of 1