LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-19-2006, 10:54 AM   #1
walterbyrd
Member
 
Registered: Apr 2004
Posts: 734

Rep: Reputation: 46
Change default directory in Apache2


Now that Apache was eliminated the httpd file, I am completely lost. Where is the configuration? How do I simply chage the default directory where the web files are stored?
 
Old 07-19-2006, 11:30 AM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
Change the /etc/apache2/sites-available/default file to point to somewhere else.
 
Old 07-19-2006, 11:47 AM   #3
lordberic
LQ Newbie
 
Registered: May 2006
Distribution: OpenBSD, Slackware, Darwin
Posts: 2

Rep: Reputation: 0
or alternativly, if it isn't already in your apache2.conf file add this line
Include /etc/apache2/httpd.conf
once you've done that you can just make or use a good old httpd.conf file for your user conf settings

(this is already in the /etc/apache2 dir and the conf file in debian sarge btw)
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
acidrip, change default output directory shanenin Linux - Software 3 11-15-2010 11:42 PM
How Do I Change The Default Directory For Apache? Tear Syden Linux - Newbie 4 03-21-2006 10:16 PM
change the default dir fro apache2 dev_mohamed Linux - Software 5 06-22-2005 01:20 PM
proftp default directory how to change??? bgriesi Mandriva 3 12-29-2004 12:13 PM
change default save directory canyon289 Linux - Software 1 10-24-2004 12:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:52 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration