Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-09-2005, 04:07 AM   #1
LQ Newbie
Registered: Nov 2005
Posts: 4

Rep: Reputation: 0
Website publishing in Apache

I have a multiboot computer with Windows 2003 Server Standard and Red Hat Linux 9.0. I don't know how to publish websites in Linux though I have successfully configured Apache Web Server. I would like to know; like in IIS 6.0 the root directory is wwwroot and with Frontpage extensions installed websites can be published, what is the root directory for Linux web server and how to publish.
Old 11-09-2005, 04:14 AM   #2
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
/var/www/html or /var/www/htdocs.
Old 11-09-2005, 04:14 AM   #3
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
In redhat, the root directory is usually something like /var/www or one of its subdirs (don't remember and no redhat9 in my possession to test).
Meanwhile, you can change that root dir in your configuration file /etc/httpd/conf/httpd.conf file. Look at the documentRoot directive. If you change the document root, you will have to modify as well all <Directory /your/dir> entries related to your docRoot.
To take changes into account, restart apache.
Old 11-11-2005, 02:19 AM   #4
LQ Newbie
Registered: Nov 2005
Posts: 4

Original Poster
Rep: Reputation: 0

Thanx so much !
Its been a useful piece of information.


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
Apache - Website Redirection Help cbarone2005 Linux - Software 2 09-29-2005 03:45 PM
Website testing with Apache BinaryLinux Linux - Software 5 08-19-2004 06:45 PM
Apache: number of users on a website? mikeshn Linux - Software 0 07-22-2003 07:40 PM
ISA, websites on apache and linux server, publishing... marvc Linux - Security 4 07-10-2003 06:12 PM
apache website question vadertech Linux - Newbie 6 03-28-2003 05:02 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:06 PM.

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