hi
i was doing web programming on windows but recently i installed ubuntu and xampp. there are two directories one is /opt/lampp/htdocs and other is /myname/public_html. which one is my home directory. i tried to save a file in my home directory i.e /myname/public_html but it is not working.
now when i try to edit files in /opt/lampp/htdocs/ it gives me error message that file can not be written.
how i can link my public_html folder that when i type localhost in browser it serve my pages.
please help
thanx
home directory for xampp on ubuntuhome directory
Page 1 of 1
4 Replies - 2197 Views - Last Post: 13 March 2007 - 09:32 PM
Replies To: home directory for xampp on ubuntu
#3
Re: home directory for xampp on ubuntu
Posted 13 March 2007 - 08:25 PM
#4
Re: home directory for xampp on ubuntu
Posted 13 March 2007 - 08:44 PM
You cant write to /opt/lampp/htdocs most likely because of permission problems, being it is owned by root or http user and you are not that user.
Here is some basic info on file permissions:
http://www.december....ermissions.html
You'll probably need to as root, change ownership of some directory.
Here is some basic info on file permissions:
http://www.december....ermissions.html
You'll probably need to as root, change ownership of some directory.
#5
Re: home directory for xampp on ubuntu
Posted 13 March 2007 - 09:32 PM
thanx for the link.
i changed ownership and now able to write to it.
u saved my day.
thanx
i changed ownership and now able to write to it.
u saved my day.
thanx
Page 1 of 1

New Topic/Question
This topic is locked



MultiQuote





|