I have installed xampp (Ubuntu 16) and http://localhost shows everything is working fine. But there is no /var/www directory .
Asked
Active
Viewed 82 times
0
George Udosen
- 35,970
- 13
- 99
- 121
farley
- 3
- 1
-
1So? Why do you expect a 3rd party app to follow linux's filesystem? See `.xampp/apache/conf/http.conf` on what directory it is using – Rinzwind Aug 30 '17 at 14:33
-
Well being new Ubuntu I assumed it was what I read everywhere. I do not know how to see the file you gave? Can you help? – farley Aug 30 '17 at 14:55
-
I would advice to delete it and install our own LAMP with `sudo apt install lamp-server^` -ALL- documentation you will find will be tailored to that version of a webserver setup and will use all the correct directories (like /var/www/). – Rinzwind Aug 31 '17 at 07:49
1 Answers
1
Lamp , Apache use different DocumentRoot for its stuffs . You can find Apache configuration under /opt/lamp/httpd .
Ali Ghasempour
- 429
- 3
- 7
-
/opt/lampp does not have a httpd but i did find opt/lampp/htdocs which seems to be the locartion of the website. Thanks for pointing me in the right direction. – farley Aug 30 '17 at 14:57
-