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

Can't create index.html

Quote Reply
Can't create index.html
Well, I've got everything to work except that when I go Build, it tells me the following:
Building Pages
Pages built on 18-Sep-2000 at 14:30:50
--------------------------------------------------------

Backing up database . . .
Backup exists for today.. Skipping
Done.

Building URL Index . . .
Done.

Updating New and Popular Records . . .
What's New Cutoff: 1 days
Popular Cutoff: 2 hits
Updating record: 3, marking as new.
Done.

Updating ratings ..
Done.

Loading Category Information . . .
Done.

Gathering Category and Link information . . .
Done

Building Home Pages . . .
Subcategories: 2
Total Links: 1
Opening page: /links/cgi-bin/admin/pages/index.html

CGI ERROR
==========================================
Error Message : unable to open home page: /links/cgi-bin/admin/pages/index.html. Reason: No such file or directory
Script Location : nph-build.cgi
Perl Version : 5.00503

Form Variables
-------------------------------------------

Environment Variables
-------------------------------------------
DOCUMENT_ROOT : /data1/virtualave.net/dark-raven12
GATEWAY_INTERFACE : CGI/1.1
HTTP_ACCEPT : image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-comet, */*
HTTP_ACCEPT_ENCODING: gzip, deflate
HTTP_ACCEPT_LANGUAGE: en-us
HTTP_CONNECTION : Keep-Alive
HTTP_COOKIE : /news/newsadmin.pl_AUTHOR=Finally this [bleep!] works; /news/newsadmin.pl_EMAIL=dadsdda@dasdsda.ca; p_go2id=Bkjvt7LWOXx1BDFDVJALTC
HTTP_HOST : spunkydld.virtualave.net
HTTP_REFERER : http://spunkydld.virtualave.net/links/cgi-bin/admin/admin.cgi?display=navigation
HTTP_USER_AGENT : Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
PATH : /usr/local/bin:/usr/bin:/bin
QUERY_STRING :
REMOTE_ADDR : 24.42.98.207
REMOTE_PORT : 1677
REQUEST_METHOD : GET
REQUEST_URI : /links/cgi-bin/admin/nph-build.cgi
SCRIPT_FILENAME : /data1/va/spunkydld/links/cgi-bin/admin/nph-build.cgi
SCRIPT_NAME : /links/cgi-bin/admin/nph-build.cgi
SCRIPT_URI : http://spunkydld.virtualave.net/links/cgi-bin/admin/nph-build.cgi
SCRIPT_URL : /links/cgi-bin/admin/nph-build.cgi
SERVER_ADMIN : webmaster@virtualave.net
SERVER_NAME : spunkydld.virtualave.net
SERVER_PORT : 80
SERVER_PROTOCOL : HTTP/1.1
SERVER_SOFTWARE : Apache/1.3.6 (Unix)

I have put a index.html in the admin/pages directory and it is chmoded 755. Why is it not reading it?
Any help whatsoever will be appreciated. Thank you

Quote Reply
Re: Can't create index.html In reply to
You don't want Links 2.0 to build your pages in a directory below your cgi-bin because it won't work correctly!

You need html pages in a directory off your root other than cgi-bin.

eg. /home/username/username-www/pages/index.html

Edit the path in links.cfg

...now try!

From Paul Wilson.
http://www.audio-grabber.com
Music Directory
Quote Reply
Re: Can't create index.html In reply to
I did that and linked to the folder links.
the folder links is before cgi-bin in the heriarchy
still the same thing
Even tried to put on the full path of the index.html on the server.

Quote Reply
Re: Can't create index.html In reply to
In links.cfg alter the path for pages to be built to:

your_root_directory/pages
ie: /home/username/username-www/pages

Create the folder called pages and chmod to 777.

Try building again!

From Paul Wilson.
http://www.audio-grabber.com
Music Directory