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 6472 Dec 19, 2002, 11:07 AM
Thread Re: [soft2k] is it possible to protect admin.cgi being viewed from someone?
Paul 6376 Dec 19, 2002, 11:17 AM
Thread Re: [Paul] is it possible to protect admin.cgi being viewed from someone?
soft2k 6362 Dec 19, 2002, 11:24 AM
Thread Re: [soft2k] is it possible to protect admin.cgi being viewed from someone?
Paul 6374 Dec 19, 2002, 11:28 AM
Thread Re: [Paul] is it possible to protect admin.cgi being viewed from someone?
PerlFlunkie 6380 Dec 19, 2002, 12:58 PM
Thread Re: [PerlFlunkie] is it possible to protect admin.cgi being viewed from someone?
Paul 6308 Dec 19, 2002, 1:01 PM
Thread Re: [Paul] is it possible to protect admin.cgi being viewed from someone?
PerlFlunkie 6345 Dec 19, 2002, 1:25 PM
Thread Re: [PerlFlunkie] is it possible to protect admin.cgi being viewed from someone?
Paul 6373 Dec 19, 2002, 4:23 PM
Thread Re: [Paul] is it possible to protect admin.cgi being viewed from someone?
PerlFlunkie 6350 Dec 20, 2002, 12:10 AM
Post Re: [PerlFlunkie] is it possible to protect admin.cgi being viewed from someone?
Paul 6351 Dec 20, 2002, 1:17 AM
Post Re: [PerlFlunkie] is it possible to protect admin.cgi being viewed from someone?
soft2k 6390 Dec 20, 2002, 5:47 PM
Thread Re: [PerlFlunkie] is it possible to protect admin.cgi being viewed from someone?
soft2k 6323 Dec 20, 2002, 4:55 PM
Thread Re: [soft2k] is it possible to protect admin.cgi being viewed from someone?
PerlFlunkie 6356 Dec 20, 2002, 6:10 PM
Thread Re: [PerlFlunkie] is it possible to protect admin.cgi being viewed from someone?
soft2k 6359 Dec 20, 2002, 7:01 PM
Thread Re: [soft2k] is it possible to protect admin.cgi being viewed from someone?
PerlFlunkie 6303 Dec 20, 2002, 7:48 PM
Thread Re: [PerlFlunkie] is it possible to protect admin.cgi being viewed from someone?
soft2k 6289 Dec 20, 2002, 8:16 PM
Post Re: [soft2k] is it possible to protect admin.cgi being viewed from someone?
spwoodring 6191 Jan 12, 2003, 9:30 PM