[NoCat] Nocat custom login page

twistedpickles twistedpickles at gmail.com
Fri Aug 31 09:42:38 PDT 2007


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:: :


More information about the NoCat mailing list