Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Build Error -> help

Quote Reply
Build Error -> help
At first I made the path for the html pages to be built in a sub-directory in my main public directory called "pages"

After making some directories and adding links, I discovered that the "home" page link goes to "pages/index.html" instead of just my main "index.html"....

1) question: can the home index.html be set to be located in the main public directory while all the other html pages are in a subdirectory like I outlined above ?

- Cause I couldn't see that option anywhere so what I did was go back to "setup - paths and urls".... and changed the directoy for the html pages to be created to: http://www.mysite.com instead of http://www.mysite.com/pages

Then I hit "build all" again... and now I get this error message: "Unable to open: '/home/httpd/mysite.com/index.html' (No such file or directory)....."

So what's this all about and how can I fix it ?

Thanks for any reply's !

Quote Reply
Re: Build Error -> help In reply to
Hi,

1. I would recommend keeping it in /pages, it keeps it contained to it's own directory. To make / go to /pages you can do:

a. Create a symlink:
ln -s /full/path/to/pages/index.html /full/path/to/index.html
b. Add a .htaccess file with:
DirectoryIndex index.html index.htm /pages/

will do the trick.

Cheers,

Alex

--
Gossamer Threads Inc.
Quote Reply
Re: Build Error -> help In reply to
thanks for the response,

I tried what you suggested and, then also went back to my original settings with everything in "pages"..

no matter what I do, when I build it says - "Unable to open: '/home/httpd/mysite.com/pages (or any variation I make).......
(No such file or directory) at /home/httpd/mysite.com/cgi-bin/links/admin/nph-build.cgi line 893....

The full list of errors reads:
... nph-build.cgi line 318 with arguments
... GT/Plugins.pm line 84 with arguments
... nph-build.cgi line 76 with arguments
... nph-build.cgi line 43 with no arguments.
... nph-build.cgi line 30 with no arguments.

How to get over this ?

Quote Reply
Re: Build Error -> help In reply to
It is possible to modify Links-Sql to build the home page at web level and the directory in a sub-directory (IE web/pages). The mod hits 1 setup template and 5 files. See http://www.bccomm.net as it is done there. For more information send me a message.