Re: Apache document root too well hidden

by Marius Zydyk <pod(at)null.net>

 Date:  Tue, 01 Aug 2000 00:57:36 -0600
 To:  "Chris Walker" <dev(at)rockfordweb.com>
 Cc:  hwg-servers(at)hwg.org
 References:  pair
  todo: View Thread, Original

> > I know, this is what is driving me crazy! When I do "find / -name" at the
> > command line, I get one directory that I am not allowed access to, even as
> > root:  /proc/5/fd, I assume this is related to the OS, but is it possible
> > that something is hidden in there?
> >
> > Only fishy thing is a file called ".index.html.swp" in the
> > "/home/httpd/html" directory, which I can't make sense out of.

------- Oh oh... I'm sort of jumping in here in the middle, but
this sounds familiar ;)

The .index.html.swp is created by a text editor called vi. It's a
temp file that saves undo information and other stuff related to
the program. If in the directory this file is in you don't see
index.html that means someone deleted it. Do a 'ps auxw|grep vi'.
If there's a copy running editing index.html check for any
background jobs you have running in your shell. A very long shot,
what happened is most likely someone was editing index.html,
it got deleted and the machine was rebooted or vi crashed or
was killed.

This may possibly work: 'vi -r index.html' will try to read the
.swp file and recover. I think :(

In any case, if you were looking for an index.html to locate your
http root, it may be in that directory.
--
   Marius Zydyk -- pod(at)null.net -- http://www.domainofdarkness.com/

HWG: hwg-servers mailing list archives, maintained by Webmasters @ IWA