I am working on a Ubuntu 10.04 server, on which I installed PHP 5.3, Apache 2 2.2.9. I followed the below steps to do the installation :
I installed apache2 using SUDO APT-GET INSTALL APACHE2
I also installed libapache2 and php using the below commands
sudo apt-get install php5 libapache2-mod-php5
sudo apt-get install php5-core
I did redirection to port by configuring the DEFAULT file in /ETC/APACHE2/SITES-AVAILABLE. Redirection happened successfully.
PHP5-curl was installed using
SUDO APT-GET INSTALL PHP5-CURL
Rewrite mod was enabled in apache2 using
SUDO A2ENMOD REWRITE and apache2 was restarted.
Now, after following this if I try to access the URL, I get the following message -
THE REQUESTED URL /.../..../ WAS NOT FOUND ON THIS SERVER.
But, the same URL is accessed from another system with the same configuration , it works fine.