You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Saad Ahmed <sa...@mantatest.com> on 2004/01/15 21:04:33 UTC
[users@httpd] Location of Webpages in Redhat 9
Hi,
I have just installed RedHat 9 and Apache is running. I can see the test page from computers on the network. I have created a webpage that I want to host. Where in Redhat should I put the page index.html so that users could access that?
Thanks,
Saad.
Re: [users@httpd] Location of Webpages in Redhat 9
Posted by Matthew Shannon <ma...@paycom.net>.
I'm assuming you are using the rpm installation of apache. There should
be an httpd configuration directory in /etc that contains the
httpd.conf. The directive you are looking for is DocumentRoot. This will
tell you where the top of the directory tree Apache is looking at is
located. I believe it defaults to /var/www/htdocs.
-matt
On Thu, 2004-01-15 at 12:04, Saad Ahmed wrote:
> Hi, I have just installed RedHat 9 and Apache is running. I can see
> the test page from computers on the network. I have created a webpage
> that I want to host. Where in Redhat should I put the page index.html
> so that users could access that? Thanks, Saad.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Location of Webpages in Redhat 9
Posted by shane c branch <sc...@barton.edu>.
Saad Ahmed wrote:
> Hi,
> I have just installed RedHat 9 and Apache is running. I can see the test page from computers on the network. I have created a webpage that I want to host. Where in Redhat should I put the page index.html so that users could access that?
> Thanks,
> Saad.
>
If you are using the default location, it will be somewhere under /var/www
Check your httpd.conf file to see where the document root is set.
--
regards,
shane
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Location of Webpages in Redhat 9
Posted by pw <p....@telus.net>.
It could be:
/var/www/html
or
$PREFIX/htdocs
$PREFIX is the path where you told ./configure to install apache
----- Original Message -----
From: Saad Ahmed
To: users@httpd.apache.org
Sent: Thursday, January 15, 2004 12:04 PM
Subject: [users@httpd] Location of Webpages in Redhat 9
Hi,
I have just installed RedHat 9 and Apache is running. I can see the test page from computers on the network. I have created a webpage that I want to host. Where in Redhat should I put the page index.html so that users could access that?
Thanks,
Saad.