1

I am a newbie linux user. I have installed xampp 1.8.3-2(lampp) on Ubuntu 13.10 and configured it.

I paste my www folder to Ubuntu 13.10 in /opt/lampp/htdocs.

Now that the owner of www folder is root, with create and delete files permission, I changed the permissions with:

sudo chmod 777 -R /opt/lampp/htdocs/www

I can access my old files inside www directory, and results in viewing webpage in the browser, with the URL of localhost/xampp/www/xxx/abc.php. I can create files like aaa.php inside www but when I am trying view aaa.php file its says

 Object not found

 The requested URL was not found on this server. If you entered the URL manually please check your spelling and try again.`

 If you think this is a server error, please contact the webmaster.`

 Error 404

localhost Apache/2.4.7 (Unix) OpenSSL/1.0.1e PHP/5.5.6 mod_perl/2.0.8-dev Perl/v5.16.3 Cannot execute new files, and I cannot execute modified code. Any suggestions? Thanks.

Wilf
  • 30,732
black
  • 556
  • 4
  • 15
  • 28

1 Answers1

1

the path i was using was wrong.i was using /opt/lampp/htdocs/www/a.php rather it should be /opt/lampp/htdocs/xampp/www/a.php that is why its cant be found. as i have url that responds in http://localhost/xampp/www so i had to just put my directories and files inside /opt/lampp/htdocs/xampp/www and it works fine.thnkx all

black
  • 556
  • 4
  • 15
  • 28