Find the answer to your Linux question:
Results 1 to 4 of 4
I need to change the target from default folder used for www file with some other place?...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! katun's Avatar
    Join Date
    Jun 2006
    Location
    Europe
    Posts
    2

    Post how can change default folder for public web documents/files (html)


    I need to change the target from default folder used for www file
    with some other place?

  2. #2
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,211
    What do you mean? With apache? You can change it in your httpd.conf file or apache2.conf.
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  3. #3
    Just Joined! katun's Avatar
    Join Date
    Jun 2006
    Location
    Europe
    Posts
    2

    Arrow

    Quote Originally Posted by antidrugue
    What do you mean? With apache? You can change it in your httpd.conf file or apache2.conf.
    Yes, but I use Knoppix on CD! Can not modify Apache config file.
    Knoppix give me just one chance to save some Linux configs on HDD.
    Is there any trick to make this with Linux config files?

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    May 2006
    Posts
    31
    httpd -c "Userdir /the/new/dir"

    You might want to read this tutorial: Per-user web directories

    You could also copy the httpd.conf file to the drive, Modify that and use
    httpd -f new.config.file

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •