0

I'm on Ubuntu 14.10 .
I copied a subdirectory which has project files (php, html, css) from xampp/htdocs on my Windows PC into /var/www/ of my ubuntu.
However, when I access those files from browser (I can not see the directory listing), I get 402 Object not found. Hence that, I installed Apache2,mysql 5.5 and phpmyadmin and also conducted update apt-get update for the system and I granted chmod-R 777 access to /var/www.
Any idea what might be the problem?

Saif
  • 6,366
  • 8
  • 37
  • 57
Neo
  • 7
  • 4
  • If you use mod_rewrite of apache then you have to check if [mod_rewrite](http://stackoverflow.com/a/5758551/2151290) is on – Rafiqul Islam Dec 14 '14 at 06:03

1 Answers1

0

You must put the files on /var/www/html Then try sudo chmod -R 755 /var/www/html

pableiros
  • 10,752
  • 11
  • 79
  • 78