Gossamer Forum
Home : Products : Links 2.0 : Discussions :

protected admin area

Quote Reply
protected admin area
The other question I have (see below for ones on usage) is about password protection of the Admin.cgi page. I thought I was making a protected directory,
but it did not work.

I should note that the installation was done FOR me. So any answers should take into account that I am not that experienced in cgi scripts.

On my lesk account, I happen to have once made a directory for
a different thing, and that works ok:


Where the directory is uploads/

And that is enterered in my plesk control panel as


Though in the fttp directory the actual address is httpdocs/uploads

(we are supposed to use that ftp address)

Now in this case (LINKS) , the cgi bin is OUTSIDE the httpdocs directory. While

the sysop of the webhost says we should not use that, others here have said it is fine, and in fact it is working.

I have entered:


which doesn't work. (

It makes sense it doesn't work, since that would reflect an actual

address of


and I don't want it to be in http docs, right?

(As said, the administrator claims we can't use cgi-bin as it is now,
so he may get angry).

In other words my website http://tokyoprogressive.org

is acually fttped as tokyoprogressive/httpdocs/directory/directory

But the links program is fttped as tokyoprogressive/cgi-bin/admin/

Well, I thought if the solution is not easyto find, I can make a
password for the page with my bravenet account I think.

But all these kinds of scripts require you to put a password that is hosted

at bravenet, etc. into an html document. I have a feeling I can't add such code to the admin.cgi

document. Any advice on how to configure the panel? Or use some other script?
Quote Reply
Re: [paularenson] protected admin area In reply to
Have you heard of htaccess and htpasswd files? If your web site is hosted in an Apache web server, then you can use these files to password protect your directory. Links 2.0 does NOT password protect the admin folder by itself. You have to protect it on your own.

Search the Links 2.0 forums for htaccess and htpasswd.
Buh Bye!

Quote Reply
Re: [paularenson] protected admin area In reply to

A cgi script for doing the necessary protn with htaccess and htpasswd is attached. Upload it to cgi-bin and play with it Wink

.htaccess has to be placed in the directory which you want to password protect

.htpasswd has to be in some directory non readable thru browser.

umm password protection through remote hosting ... may not be good idea.

Quote Reply
Re: [paularenson] protected admin area In reply to

I was in the hospital for the last 9 days with serious anemia and am just getting to look at my mail.

A perosn here helped me to install and use the passwording (which my system offers but which we could not use since there was a path problem).

That has been cleared up now!

Thanks again.