Re: Howto use an other file than index.html

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

 



On Dec 6, 2007 1:17 PM, Sonixxfx <sonixxfx@xxxxxxxxx> wrote:
> I am using PHP indeed, and the file that causes the trouble contains
> php code and the file that loads properly contains just plain HTML.
>
> The PHP code is placed at the beginning of the file before the HTML. I
> am guessing the php  code should be embedded in the HTML for this to
> work properly. Please let me know if there is something else I could
> take a look at.

My best guess is that your PHP code uses its own URL in some way and
is now confused by the fact that the URL doesn't contain a filename
(because it is accessed via DirectoryIndex). This causes it to try to
perform an operation on a directory that it intended to perform on a
file, resulting in the quoted error.

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


[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