Just as a word of advice (sorry if you were already aware of this). Files
with a .inc extension are not parsed as PHP by the PHP engine by default,
thus by typing in the URL of the .inc file, a user can read all the source
code in that file - which may contain unencrypted passwords etc.
I once found a major ISP who did not realise this, and consequently I was
able to read all the MySQL Usernames, passwords and servers from their .inc
files. They were able to fix it very easily by adding the inc extension to
the list of parsed files.
"yas" <doors_1.DeleteThis@hotmail.com> wrote in message
news:57dc224e.0309081133.33f6269e@posting.google.com...
> We recently installed Apache 2.0 servers ( used to use 1.3 before ).
> The directory structure of the content being accessed remains the
> same. For some reason , include files with extension .inc are trying
> to be retrived as .in ( the "c" gets truncated ) . If I copy the
> include files over as .in , it works fine. The error in the log is
> [Mon Sep 08 12:47:31 2003] [error] [] (2)A file or directory in the
> path name does not exist.: file permissions d
> eny server access:
/projects/www/content/software/main/inc/home/stories-ws.in
> [Mon Sep 08 12:47:31 2003] [error] [] unable to include
> "/software/main/inc/home/stories-ws.inc" in parsed file /
> projects/www/content/software/index.html
> [Mon Sep 08 12:47:31 2003] [error] [] (2)A file or directory in the
> path name does not exist.: file permissions d
> eny server access: /projects/www/content/software/main/inc/alt-foot-2.in.
>
> You see the index.html has the correct file name...why is it looking
> for .in ? any ideas?<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: .inc extension truncated