LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 11-03-2003, 06:09 AM   #1
avoll
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.
ThanX

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

My Email
dropmeahit@hotmail.com
 
Old 11-03-2003, 06:23 AM   #2
nephilim
Member
 
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, 07:10 AM   #3
soob
Member
 
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, 12:16 PM   #4
holycow1001
LQ Newbie
 
Registered: Jun 2017
Posts: 1

Rep: Reputation: Disabled
in Ubuntu

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


Reply



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 10:32 PM
Apache 2.0 search for index.html file pawlub Linux - Software 2 10-28-2003 10:03 AM
Red Hat Linux 8 Apache index.html file muhammade Linux - General 10 02-11-2003 11:30 AM
Apache Index Files mastahnke Linux - General 7 03-20-2002 11:16 PM
apache index server? phek Linux - Newbie 1 08-30-2001 04:48 PM

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

All times are GMT -5. The time now is 07:03 AM.

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