Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Document Contains No Data for index.html's

Quote Reply
Document Contains No Data for index.html's
my link.cfg file is set to chmod all built files for 0777, but when the directories and index.html pages are built and you try to view them online you get a Document contains no data error.

The only way I have found to correct this is to delete the directories and index.html files, then create the directories and index.html files again and chmod them 777.

Is there anyway around this, should I try letting the script chmod the files 0755?
I have ALOT of catagories and sub-catagories and I do not want to do them all by hand.

Thanks for any help you can give.
T
Quote Reply
Re: Document Contains No Data for index.html's In reply to
A "Document contains no data" error is not related to the permissions of the directories, so I think you need not worry about that.

That error usually means one of a number of possible reasons:

1. Your script is not pointing to perl or the correct version of perl.

2. You have a typo someplace in the script that is causing it to fail to return any data to the browser.

3. You have no data. Wink

When you recreate the documents and chmod the directories manually, is there stuff in the index.html files? Is there originally?

[This message has been edited by Bobsie (edited March 03, 1999).]