Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

.inc extension truncated

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Folder browse  
Author Message
doors_1

External


Since: Sep 08, 2003
Posts: 1



(Msg. 1) Posted: Mon Sep 08, 2003 3:33 pm
Post subject: .inc extension truncated
Archived from groups: alt>apache>configuration (more info?)

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?

 >> Stay informed about: .inc extension truncated 
Back to top
Login to vote
news62

External


Since: Sep 08, 2003
Posts: 2



(Msg. 2) Posted: Tue Sep 09, 2003 12:03 am
Post subject: Re: .inc extension truncated [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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 RemoveThis @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 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]