Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > Your Distro > Knoppix Help Forum > how can change default folder for public web documents/files (html)

Forgot Password?
 Knoppix Help Forum   For all discussions about Knoppix, the Linux "Live CD" that lets you run Linux without needing to install on your hard drive.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 06-01-2006   #1 (permalink)
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?
katun is offline  


Reply With Quote
Old 06-01-2006   #2 (permalink)
Linux Guru
 
antidrugue's Avatar
 
Join Date: Oct 2005
Location: Montreal, Canada
Posts: 3,213
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
antidrugue is offline   Reply With Quote
Old 06-02-2006   #3 (permalink)
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?
katun is offline   Reply With Quote
Old 06-03-2006   #4 (permalink)
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
vlsimpson is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 04:59 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2