Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 11-03-2003, 07:09 AM   #1
LQ Newbie
Registered: Oct 2003
Location: Ottumwa, IA
Posts: 6

Rep: Reputation: 0
Apache index file Location

I have set up apache web server.
And I can view the test page / default index file from another computer other then my server.
But my question is, were is the test index file located?
So that I can find it, and copy my new index file over it.

Every one alwayZ does a great job of helping people on this site.
ThanX aging

My Email
Old 11-03-2003, 07:23 AM   #2
Registered: Aug 2003
Location: Belgium
Distribution: Debian (server), Kubuntu (desktop)
Posts: 248

Rep: Reputation: 30
It's probably in /usr/local/apache/htdocs
Old 11-03-2003, 08:10 AM   #3
Registered: May 2003
Location: A country town, Australia
Distribution: Debian
Posts: 72

Rep: Reputation: 15
RedHat puts it at /var/www/html

The full answer is to search the Apache config file, /etc/httpd/conf/httpd.conf for a line that says DocumentRoot. That answer should always work!
Old 06-14-2017, 01:16 PM   #4
LQ Newbie
Registered: Jun 2017
Posts: 1

Rep: Reputation: Disabled
in Ubuntu

ubuntu@UBUNTU1:/var/www/html$ nano index.html


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 problem - cannot get index.html file to show nebloof Linux - Software 3 01-15-2005 11:32 PM
Apache 2.0 search for index.html file pawlub Linux - Software 2 10-28-2003 11:03 AM
Red Hat Linux 8 Apache index.html file muhammade Linux - General 10 02-11-2003 12:30 PM
Apache Index Files mastahnke Linux - General 7 03-21-2002 12:16 AM
apache index server? phek Linux - Newbie 1 08-30-2001 05:48 PM > Forums > Linux Forums > Linux - Networking

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