LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-21-2004, 08:21 PM   #1
johann519
LQ Newbie
 
Registered: Jan 2004
Location: Portland, OR
Distribution: Fedora 1
Posts: 20

Rep: Reputation: 0
What is the default folder where Apache is installed?


I am a huge noob when it comes to linux so any help would be appreciated. In apache 2.0, where is the default folder where it is installed? AND, my friend who runs debian says you just put it in the htdocs folder. I am running Red Hat 9, is there an htdocs folder? If there isn't, where is the "test page" stored so I can replace it with my own page? Thanx!!!
 
Old 01-21-2004, 08:26 PM   #2
charon79m
Member
 
Registered: Oct 2003
Distribution: Just about anything... so long as it is Debain based.
Posts: 297

Rep: Reputation: 30
Mysery Location

The place you are looking for should be:

/var/www/html/

or

/var/www/

Those are the DEFAULT locations; however, you can set the location to anything your heart desires by editing your httpd.conf file.

Hope this helps!

MrKnisely
 
Old 01-21-2004, 10:54 PM   #3
johann519
LQ Newbie
 
Registered: Jan 2004
Location: Portland, OR
Distribution: Fedora 1
Posts: 20

Original Poster
Rep: Reputation: 0
You wouldn't happen to know what part of the httpd.conf file you need to edit would you?
 
Old 01-22-2004, 05:08 PM   #4
Torm3nt
LQ Newbie
 
Registered: Dec 2002
Posts: 27

Rep: Reputation: 15
johann, it depends on the distribution or package you've installed. These options are available both via the rpm install, or if you're compiling from source. Try:

locate httpd.conf

it should come up with at least one location. If nothing, type "updatedb" without quotes, then "locate httpd.conf"

but, for most default installs for apache 2.0 (i'll assume that's what you're using), its either:

/usr/local/apache2/conf/httpd.conf
or /usr/apache2/conf/httpd.conf
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Default permissions of files and folder maginotjr Slackware 2 07-29-2005 03:52 AM
how can i default the max folder file size when it create inside a folder antony_csf Linux - Software 1 06-17-2004 02:26 AM
Default folder view stuck! EnVoy Mandriva 1 06-11-2004 10:57 AM
Default folder icon on Gnome mrozkan Linux - General 0 07-14-2003 10:09 AM
Default mail folder PcHammer Linux - Software 0 03-27-2003 07:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:28 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