[NoCat] Nocat custom login page
john kakavas
ilektrojohn at yahoo.gr
Mon Sep 3 05:01:55 PDT 2007
As i said before the problem with the css is fixed, but i still have the same problem with the encoding. The page is in UTF-8, there is a meta tag
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
declaring that also, so the browser should understand it. The problem is that it doesn't. It sees it as it has 8859-1 encoding(checked it from page info in firefox) . So the text is unreadable(its greek, and all i can see is symbols) . The strange thing is that if i ask the page directly from the browser, it detects its encoding and displays it correctly.Any ideas, anyone?I'm pretty sure there s nothing wrong with the html page because as i said if i ask it directly from the browser it dislays correctly. But then what else could be wrong ?
----- Original Message ----
From: twistedpickles <twistedpickles at gmail.com>
To: john kakavas <ilektrojohn at yahoo.gr>
Cc: NoCatAuth <nocat at lists.nocat.net>
Sent: Friday, August 31, 2007 7:42:38 PM
Subject: Re: [NoCat] Nocat custom login page
Try using an absolute URL for css style sheets and images it sounds as if you might be using relative URL's.
Try <link href="/css/style.css" rel="stylesheet" type"text/css">
And place the css folder and style.css in /usr/local/nocat/auth/htdocs ex: ../auth/htdocs/css/style.css
On 8/31/07, john kakavas <
ilektrojohn at yahoo.gr> wrote:
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....
----- Original Message ----
From: twistedpickles <
twistedpickles at gmail.com>
To: john kakavas <ilektrojohn at yahoo.gr>
Cc: noct at lists.nocat.net
Sent: Friday, August 31, 2007 6:37:12 AM
Subject: Re: [NoCat] Nocat custom login page
That is strange. I creted a cutom login as well however I didn't run into any problems. Does the original login.html work and display correctly?
Check your document root in auth/nocat.conf, should read 'DocumentRoot /usr/local/nocat/auth/htdocs'
On 8/30/07, john kakavas <ilektrojohn at yahoo.gr
> wrote:
Yes I did. It opens the login-no-skip.html, but it seems as it can't find style.css and the images folder so the pages loads with no graphic. It also cant detect the pages encoding so the text is all symbols. If i access it directly everything is fine. In the
error.log i found entries that it was looking for images and css in the usr/local/nocat/auth/cgi-bin isnt that starnge ? why there and not in thd htdocs folder where the html are ?
----- Original Message ----
From: twistedpickles <
twistedpickles at gmail.com>
To: john kakavas <ilektrojohn at yahoo.gr>
Sent: Thursday, August 30, 2007 10:42:48 PM
Subject: Re: [NoCat] Nocat custom login page
did you specify login-no-skip.html as your login page in authserv/nocat.conf
-----snip-----
# Auth service template names. See the individual templates
# for details on what each one does.
#
LoginForm login.html <--- change to login-no-skip.html
LoginOKForm login_ok.html
FatalForm fatal.html
ExpiredForm expired.html
RenewForm renew.html
PassiveRenewForm renew_pasv.html
--------snip--------
On 8/30/07, john kakavas <ilektrojohn at yahoo.gr
> wrote:
I've edited the login pages of nocat so to meet our company's needs
using a little css but i have a problem. When it opens the page, it
seems as though the browser can't find the css and cannot detect the
encoding of the page (it's utf-8) .If i ask for the page directly from
the same pc (
https://xxx.xxx.xxx.xxx/login-no-skip.html ) everythings
looks fine. The graphics and the encoding of the page. Any suggestions ?
___________________________________________________________
Χρησιμοποιείτε Yahoo!;
Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail
διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών
μηνυμάτων
http://login.yahoo.com/config/mail?.intl=gr
_______________________________________________
NoCat mailing list
NoCat at lists.nocat.net
http://lists.nocat.net/mailman/listinfo/nocat
--
::twistedPickles:: :
Χρησιμοποιείτε Yahoo!
Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων
http://login.yahoo.com/config/mail?.intl=gr
--
::twistedPickles:: :
Χρησιμοποιείτε Yahoo!
Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων
http://login.yahoo.com/config/mail?.intl=gr
--
::twistedPickles:: :
___________________________________________________________
Χρησιμοποιείτε Yahoo!;
Βαρεθήκατε τα ενοχλητικά μηνύματα (spam); Το Yahoo! Mail
διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών
μηνυμάτων http://login.yahoo.com/config/mail?.intl=gr
More information about the NoCat
mailing list