Re: Howto use an other file than index.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Joshua :)

Thanks for your response.

I restart the server after making changes. This comes from my error_log:

Attempt to serve directory: /mydocument/path

Ben



2007/12/6, Joshua Slive <joshua@xxxxxxxx>:
> On Dec 6, 2007 10:30 AM, Sonixxfx <sonixxfx@xxxxxxxxx> wrote:
> > Hi,
> >
> > I am using index.html as my directory index file, but I would like to
> > use another file and can't get it working.
> >
> >
> > This is from my httpd.conf:
> >
> >
> > <IfModule mod_dir.c>
> >
> >     DirectoryIndex index.html
> >
> > </IfModule>
> >
> >
> > If I change index.html to another file name I get the error "Not Found
> >
> > The requested URL / was not found on this server." despite that the
> > file exits in the directory from where my files are served. The file
> > is owner, group and world readable. The file can be served by apache,
> > but just not as an index file. I also spelled the name correctly.
> > Everything works fine if I use the index.html file.
>
> Are you restarting the server after making the change? What EXACTLY
> does the apache error_log say?
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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@xxxxxxxxxxxxxxxx
>    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
>
>

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux