Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Re: [soft2k] is it possible to protect admin.cgi being viewed from someone?

Quote Reply
Re: [soft2k] is it possible to protect admin.cgi being viewed from someone? In reply to
I just spent two hours trying to get that mod to work, without success.Pirate

I did some searching here for a fix, but didn't find one. Anyone out there know if there's a trick to it? I changed the form action to a full URL, which at least brought me a login screen, but it takes me to a 500 error page. The password and timer files are created, and timer has an entry, but password.txt remains empty, which is obviously a problem... Also, the ip logging writes a file like "12.345.678" in the admin directory; should it create a .txt, .db or a directory?

My error log shows me what should appear as an HTML error page (...not authorized...try again...), but no actual error. Old posts in these forums contain an unfortunately high number of dead links, and they're always the ones that sound like they can tell you just exactly what you need to know...Unsure



Sidenote... change everything in your data directory (except the hits and rates dirs) to chmod 600, which will keep others from being able to write to(or erase, or even read) the data inside. Correct? Oh, and make admin.cgi chmod 700, which will allow you (the owner) to read/write/execute, but block all others. I may be wrong about this...


+++++++++++++++++++++++Blush

ALSO, if you use the directory change thing posted above, you will need to go into the public cgi files (add, search, jump, etc) and where it says

require "/admin/links.cfg"; # Change this to full path to links.cfg if you have problems.

enter the FULL PATH to links.cfg, so in the above posted example it should be like:

/full/path/to/mysite/cgi-bin/links/rumplestiltskin/admin/links.cfg


+++++++++++++++++++

Soft2k, I see I was writing this while you were writing your next post...

#############

Yet another note, when you are promted to download a file, choose the view option, and it should open a little window that will contain an error message, giving a clue to what's wrong and where to look.


Leonard
aka PerlFlunkie

Last edited by:

PerlFlunkie: Dec 20, 2002, 8:45 PM
Subject Author Views Date
Thread is it possible to protect admin.cgi being viewed from someone? soft2k 7984 Dec 19, 2002, 11:07 AM
Thread Re: [soft2k] is it possible to protect admin.cgi being viewed from someone?
Paul 7871 Dec 19, 2002, 11:17 AM
Thread Re: [Paul] is it possible to protect admin.cgi being viewed from someone?
soft2k 7862 Dec 19, 2002, 11:24 AM
Thread Re: [soft2k] is it possible to protect admin.cgi being viewed from someone?
Paul 7869 Dec 19, 2002, 11:28 AM
Thread Re: [Paul] is it possible to protect admin.cgi being viewed from someone?
PerlFlunkie 7877 Dec 19, 2002, 12:58 PM
Thread Re: [PerlFlunkie] is it possible to protect admin.cgi being viewed from someone?
Paul 7807 Dec 19, 2002, 1:01 PM
Thread Re: [Paul] is it possible to protect admin.cgi being viewed from someone?
PerlFlunkie 7842 Dec 19, 2002, 1:25 PM
Thread Re: [PerlFlunkie] is it possible to protect admin.cgi being viewed from someone?
Paul 7868 Dec 19, 2002, 4:23 PM
Thread Re: [Paul] is it possible to protect admin.cgi being viewed from someone?
PerlFlunkie 7846 Dec 20, 2002, 12:10 AM
Post Re: [PerlFlunkie] is it possible to protect admin.cgi being viewed from someone?
Paul 7848 Dec 20, 2002, 1:17 AM
Post Re: [PerlFlunkie] is it possible to protect admin.cgi being viewed from someone?
soft2k 7886 Dec 20, 2002, 5:47 PM
Thread Re: [PerlFlunkie] is it possible to protect admin.cgi being viewed from someone?
soft2k 7821 Dec 20, 2002, 4:55 PM
Thread Re: [soft2k] is it possible to protect admin.cgi being viewed from someone?
PerlFlunkie 7854 Dec 20, 2002, 6:10 PM
Thread Re: [PerlFlunkie] is it possible to protect admin.cgi being viewed from someone?
soft2k 7856 Dec 20, 2002, 7:01 PM
Thread Re: [soft2k] is it possible to protect admin.cgi being viewed from someone?
PerlFlunkie 7801 Dec 20, 2002, 7:48 PM
Thread Re: [PerlFlunkie] is it possible to protect admin.cgi being viewed from someone?
soft2k 7785 Dec 20, 2002, 8:16 PM
Post Re: [soft2k] is it possible to protect admin.cgi being viewed from someone?
spwoodring 7686 Jan 12, 2003, 9:30 PM