Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Weird thing in Netscape

Quote Reply
Weird thing in Netscape
After adding .htaccess protection to /admin Netscape (4.7) pops up a login box for any Links pages that a visitor goes to. The box can be cancelled out of, and it works properly for admin, i.e. you can't cancel out but have to login correctly. IE works fine. Anyone know what's going on? I'd guess that somehow admin was carrying the protection over to pages that it creates, but in this case, I hadn't built anything between the time I added .htaccess and when accessing the Links pages. And I know the code in links give 755 permissions to all the pages generated.
Anyone had anything like this? .htaccess looks like this:

AuthUserFile /www/namehere/cgi-bin/admin/.htpasswd
AuthGroupFile /dev/null
AuthName Login_or_depart
AuthType Basic
<Limit GET>
require valid-user
</Limit>

This is happening on both sites that I have links and that I just added .htaccess to.
Thanks,
Bret.
Quote Reply
Re: Weird thing in Netscape In reply to
I would suggest moving your template directory and files out of the /admin directory. Put them underneath the /admin in the main /links directory in the /cgi-bin, or put them even in a publicly accessible web directory.

Make sure that you change the directory path for your template directory in the links.cfg file. If you are not using templates, make sure that your site_html.pl file is located outside of the /admin directory.

Hope this helps.

Regards,

------------------
Eliot Lee
Founder and Editor
Anthro TECH, L.L.C
http://www.anthrotech.com/
info@anthrotech.com
==========================
Coconino Community College
http://www.coco.cc.az.us/
Web Technology
Coordinator
elee@coco.cc.az.us