On Friday 25 Nov 2005 23:35, Joe Mc Cool wrote: > On Fri, Nov 25, 2005 at 06:55:31PM +0000, TreeBoy wrote: > > * mydomain.demon.co.uk > > * www.mydomain.demon.co.uk > > > > The latter is on their web servers and the former is your ADSL end point. > > Yes, makes sense. > > > The reason you are not seeing an repalced index file may be because you > > are using Apache 2. If this is the case, then you want to replace the > > index file in /var/www/apache2-default or set up you own default instead. > > Server version: Apache/1.3.33 (Debian GNU/Linux) > Server built: Sep 6 2005 13:10:30 > > I have tried putting my index.html file in /var/www /var/www/default and > /var/www/apache2-default > > Same result. > > I assume that owner and group for these files has to be www-data ? > > Where is my apache getting the default page from ? I cannot find any > likely index.html file ! > > > Hope this helps, > > Thanks a lot for all the help. > > -- > Joe Mc Cool CEng, SMIEEE > ======================================================================== > Tangent Computer Research BT71 7LN (www.tangent-research.com) > voice:(44)2837-548074mob:(44)7802-572441
OK. The root for your server should be specified in your config file /etc/apache/httpd.conf By default this is /var/www There should also be a matching <Directory> entry for this directory that specifies that indexes are allowed and what file. Later in the file you should find a <DirectoryIndex> entry that specifies what file names are used for indexes and what order they are sought. The file does not need to be owned by www-data, but they must be readable by that user. If these appear to be OK, then I suggest searching for the relevant text in the files in /var/www (Hopefully not teaching you to suck eggs:) You do this quickly by issuing the following command. grep -rl "Text I see in my Web Page." /var/www/* or you can do it case-insensitively: grep -ril "Text I see in my Web Page." /var/www/* The "r" means recursively and the "l" (ell) means only show me the filenames of the matching files - do not show me the individual lines. If this doesn't help, then we may have to look at what hosts (virtual and otherwise) you may have configured. Keep on trying.... Cheers, -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]