home directory for xampp on ubuntu

home directory

Page 1 of 1

4 Replies - 2197 Views - Last Post: 13 March 2007 - 09:32 PM

#1 deepbluegene   User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 8
  • Joined: 13-March 07

home directory for xampp on ubuntu

Posted 13 March 2007 - 07:44 PM

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

Is This A Good Question/Topic? 0
  • +

Replies To: home directory for xampp on ubuntu

#2 capty99   User is offline

  • i am colt mccoy
  • member icon

Reputation: 100
  • View blog
  • Posts: 10,081
  • Joined: 26-April 01

Re: home directory for xampp on ubuntu

Posted 13 March 2007 - 08:23 PM

wrong forum
Was This Post Helpful? 0
  • +
  • -

#3 deepbluegene   User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 8
  • Joined: 13-March 07

Re: home directory for xampp on ubuntu

Posted 13 March 2007 - 08:25 PM

View Postcapty99, on 13 Mar, 2007 - 08:23 PM, said:

wrong forum



sorry.
can you please guide me to the right forum?

thanx
Was This Post Helpful? 0
  • +
  • -

#4 Nova Dragoon   User is offline

  • The Innocent Shall Suffer, Big Time
  • member icon

Reputation: 38
  • View blog
  • Posts: 6,169
  • Joined: 16-August 01

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.
Was This Post Helpful? 0
  • +
  • -

#5 deepbluegene   User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 8
  • Joined: 13-March 07

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
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1