Re: Where does Apache serve webpages in Redhat?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On virtually any platform, when in doubt, seek ye the /etc/httpd/httpd.conf
file.  The entry that you're looking for is "DocumentRoot".  This will tell
you where Apache stores the files by default.  I'm not positive where it is
by default on RH9, but my guess would be /usr/local/httpd/htdocs.

If you're feeling confident, this would be a good time to change this entry
to a location that suits you best.  You'll need to reload apache (usually
"/etc/init.d/apache reload" in RedHat) whenever you make a change.

Hope that helps.

 - Jon

on 1/14/04 12:00 PM, Eve Atley at eatley@xxxxxxxxxxxx wrote:

> 
> I am running Redhat 9.0 and have Apache installed. 'whereis apache' command
> pulled up several Apache directories. I know where Apache is located on a Mac
> OS X platform, but am new to Linux - can someone please tell me where I need
> to install webpages to serve them?
> 
> Thanks!
> 
> - Eve
> 
> 
> -
> : send the line "unsubscribe linux-admin" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux