[NoCat] Nocat custom login page

john kakavas ilektrojohn at yahoo.gr
Wed Sep 12 17:51:27 PDT 2007


thanks but that was solved by adding a slash(/) before images ande style.css in the login.html. 
The problem with the encoding remains though. The html is written in greek with utf8 encoding, that fact is declared in a meta tag in  but there is still a problem. Browser cant get the encoding, so it pridusew symboles unless i manually set the character encoding in ff after the page is loaded. The funny thing is that if i try to access the login page directly by http://serverip/login.html i.e the browser detects the encoding and displays the characters properly. It made me wonder if that was a prob of nocat, or the way that redirection is made.. If it was for my apache , the error would happen in the second case too.

Any thoughts on that ?

----- Original Message ----
From: Schuyler Erle <schuyler at nocat.net>
To: john kakavas <ilektrojohn at yahoo.gr>
Cc: twistedpickles <twistedpickles at gmail.com>; NoCatAuth <nocat at lists.nocat.net>
Sent: Wednesday, September 12, 2007 9:40:46 PM
Subject: Re: [NoCat] Nocat custom login page

* On  1-Sep-2007 at  5:15AM PDT, john kakavas said:
> Yes, its very strange......with the default pages everything works ok, but the default pages dont have any css,....
> The errors i get in apache log are
> [error]script not found or unable to stat: /usr/local/nocat/auth/cgi-bin/style.css, referer https://..........
> [error]script not found or unable to stat: /usr/local/nocat/auth/cgi-bin/images, referer https://..........
> 
> 
> it seems as though apache thinks style.css and images(its a folder) are scripts and tries to find them in cgi-bin
> 
> I don't have the slightest clue as what is happening....

I have a horrible feeling that somewhere in the code is a regex or
something similar that looks at file extensions to figure out what to
do with them... I would grep the code for "html" and see what you
find. It's totally possible that in 2001 it didn't occur to me that
people might want to serve CSS on their splash page..

SDE







      
___________________________________________________________ 
Χρησιμοποιείτε Yahoo!; 
Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail 
διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών 
μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr 


More information about the NoCat mailing list