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

admin.cgi problem

Quote Reply
admin.cgi problem
i installed evrything and set permissions but when i access admin.cgi through my site, instead of viewing a page, IE gives me download form asking whether to download file. arent i suppose to see a page?

Quote Reply
Re: admin.cgi problem In reply to
Yes...you are supposed to see a page.

Make sure that you have set the complete ABSOLUTE path in the first require line in the admin.cgi file to your links.cfg file.

Like the following:

Code:

require "/server/path/account/cgi-bin/links/admin/links.cfg";


Regards,

Eliot Lee
Quote Reply
Re: admin.cgi problem In reply to
Thanks for the reply...it helped a little bit. Now I get Intenal Error 500! lol Im going to double check everything...but please recommend a remedy because I think I did everything what the readme file says

Quote Reply
Re: admin.cgi problem In reply to
Make sure that you have the correct Perl path in the first line of the admin.cgi file. Also, be sure that you have the correct absolute paths for the following variables in the links.cfg file:

1) $db_script_path
2) $build_root_path


Regards,

AnthroRules
Quote Reply
Re: admin.cgi problem In reply to
did that a while ago...read the other posts...but still same problem....i think the problem is coming from the permissions. the readme tells us the permissions on the data directory, cgi files, templates, but it doesnt tell us the permissions on the other files like the .pl ; .css ; .def ; .pm ; etc.... what are the permissions for them as well as the other files/folders that werent mentioned in the readme?

Quote Reply
Re: admin.cgi problem In reply to
All those other files should be 644 (rw-r--r--).

All cgi files should be 755 (rwxr-xr-x).

Here are the permissions you need for the directories:

cgi-bin/links/ - 755 (drwxr-xr-x)
cgi-bin/links/admin - 755 (drwxr-xr-x)
cgi-bin/links/admin/data - 777 (drwxrwxrwx)
cgi-bin/links/admin/data/hits - 777 (drwxrwxrwx)
cgi-bin/links/admin/data/rates - 777 (drwxrwxrwx)
cgi-bin/links/backups - 777 (drwxrwxrwx)

links/pages/ - 777 (drwxrwxrwx)
links/pages/Cool - 777 (drwxrwxrwx)
links/pages/Detailed - 777 (drwxrwxrwx)
links/pages/New - 777 (drwxrwxrwx)
links/pages/Ratings - 777 (drwxrwxrwx)

That should do it. I believe these are all noted in the README file.

Regards,

Regards,


Regards,

AnthroRules
Quote Reply
Re: admin.cgi problem In reply to
done...still same problem.....how about the html and LWP folders?

Quote Reply
Re: admin.cgi problem In reply to
Hi there,

check out the post with the subject "complete permission listing is needed" from 28-May-00 04:56PM. There ALL permissions to EACH file is listed!

Jakob

Quote Reply
Re: admin.cgi problem In reply to
did all permissions correct, have the absolute path, all were transfered in ASCII, what is wrong? i still get internal error.

Quote Reply
Re: admin.cgi problem In reply to
HEllo

who is your host?
Have U tell him the absolut path, sometimes, there is very strange ...

Ciao

Quote Reply
Re: admin.cgi problem In reply to
isnt the absolute path the path that CuteFTP displays because thats the one im using. if i am wrong pls reply.

Quote Reply
Re: admin.cgi problem In reply to
No CUteftp doesn't give the absolut path!
Tell him to your isp host (or with telnet?)

ciao

Quote Reply
Re: admin.cgi problem In reply to
whoa! i didnt know that! thanks a lot, hope it works