Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-02-09 18:14:53

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Is it wrong that everyone can see your language file?

Why is it that domain.com/textpattern/lang/ returns a 403 Forbidden, and domain.com/textpattern/lang/en-gb.txt will show you the language file? Not that I mind very much, I just don’t understand how this works.

Offline

#2 2006-02-09 21:10:59

NyteOwl
Member
From: Nova Scotia, Canada
Registered: 2005-09-24
Posts: 539

Re: Is it wrong that everyone can see your language file?

It means that viewing the contents of a directory are forbidden. This is common on directories that have no index file in them. It prevents people from browing the contents of directories. When you explicitly request a file it displays the file, no directory listing required.


Obsolescence is just a lack of imagination. / 36-bits Forever! / #include <disclaimer.h>;

Offline

#3 2006-02-09 21:13:48

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Is it wrong that everyone can see your language file?

Ah I see, I had not understood that it’s just the listing of the files that’s forbidden, not the files themselves.

Thanks for your explanation.

Offline

Board footer

Powered by FluxBB