Okey, So im still at the authentication issue.
I tried with a plain text file instead and discovered that I needed to restart
the NSLU2 after I had done any changes for it to take effect.
So now when I try to type: http://myip:8008/ it surely does ask for a username
and password.
The plain text file on my server has only this: test:test
and when I type it in, it doesn't disappear and just ask again. Maybe its a
wrong setting I've done.
But I talked to Taher the other day, and he said he was looking into making
some good documentation - so I'm really looking forward to that :)
So long,
/Viktor K.
> From: [EMAIL PROTECTED]
> Subject: Cherokee Digest, Vol 2, Issue 5
> To: [email protected]
> Date: Tue, 5 Aug 2008 12:00:02 +0200
>
> Send Cherokee mailing list submissions to
> [email protected]
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.octality.com/listinfo/cherokee
> or, via email, send a message with subject or body 'help' to
> [EMAIL PROTECTED]
>
> You can reach the person managing the list at
> [EMAIL PROTECTED]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Cherokee digest..."
>
>
> Today's Topics:
>
> 1. Re: Cherokee Digest, Vol 2, Issue 4 - reply to Authentication
> (Taher Shihadeh) (Viktor S. Kristensen)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 4 Aug 2008 13:05:42 +0200
> From: "Viktor S. Kristensen" <[EMAIL PROTECTED]>
> Subject: Re: [Cherokee] Cherokee Digest, Vol 2, Issue 4 - reply to
> Authentication (Taher Shihadeh)
> To: <[email protected]>
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="windows-1252"
>
> Hi again! Im really grateful for your help! My goal is this:A remote user
> type in the ip of my server ->http://Myip:8008/ -> meets a login form(created
> by the Cherokee server -> the user types in a username and password -> the
> server checks the mysql database if it is correct -> if yes: redirect the
> user to the index file. If a user tries to ex. Type in
> http://Myip:8008/music/mp3/index.php the cherokee server would still require
> a username and password! Right now im pretty stucked though. after reading
> the page you provided I still have some questions.. Im not sure which type of
> rule I have to pick.. (directory, extension, regular extension or header_)
> right now, the rule I?ve created looks like this:
> http://www.myupload.dk/showfile/724731b024.JPG/ under the security tab it
> looks like this: http://www.myupload.dk/showfile/724741b024.JPG/ When I press
> the ?send request? button, nothing really happens.. uhm.. my database looks
> like this.. http://www.myupload.dk/showfile/7247
> 51b024.JPG/But I cant figure out where the password should be typed in the
> database.. oh jeez. This is my first time doing this.. I'm really green.. but
> I really want to learn this stuff..! Maybe you could give me a little push
> in the right direction? .. I would love to give some feedback!! It would be
> awesome if it worked like this scenario: I want to password secure my files
> on the server. I pick the MySQL authentication.. I provide the following
> information: Password secure files in this directory:
> /opt/share/www/CherokeeMysql server:host : localhostport : 3306Unix Socket :
> /opt/bin/mysqlDB user : rootdb password: passdatabase : auth frontend login
> username: adminfrontend login userpassword : easymysqlauth_guide Then a
> script create the new database with the needed tables with the user and
> password etc.Next time I type the server IP(http://Myip:8008/) im required to
> provide a username(admin) and password(easymysqlauth_guide). Again, thank
> you for your time and help! I
> m really looking forward to the next release of the Cherokee webserver. If
> there is anything I can do, reading the faqs providing feedback, please dont
> hesitate to say! The best regards from a excited Cherokee user,Viktor
> Kristensen.
>
> > From: [EMAIL PROTECTED]> Subject: Cherokee Digest, Vol 2, Issue 4> To:
> > [email protected]> Date: Mon, 4 Aug 2008 12:00:01 +0200> > Send
> > Cherokee mailing list submissions to> [email protected]> > To
> > subscribe or unsubscribe via the World Wide Web, visit>
> > http://lists.octality.com/listinfo/cherokee> or, via email, send a message
> > with subject or body 'help' to> [EMAIL PROTECTED]> > You can reach the
> > person managing the list at> [EMAIL PROTECTED]> > When replying, please
> > edit your Subject line so it is more specific> than "Re: Contents of
> > Cherokee digest..."> > > Today's Topics:> > 1. Re: Cherokee Digest, Vol 1,
> > Issue 10 - reply to> Authentication (Taher Shihadeh)> > >
> > ----------------------------------------------------------------------> >
> > Message: 1> Date: Sun, 3 Aug 2008 16:39:28 +0200> From: Taher Shihadeh
> > <[EMAIL PROTECTED]>> Subject: Re: [Cherokee] Cherokee Digest, Vol 1, Issue
> > 10 - reply to> Authent
> ication> To: "Viktor S. Kristensen" <[EMAIL PROTECTED]>> Cc:
> [email protected]> Message-ID: <[EMAIL PROTECTED]>> Content-Type:
> text/plain; charset="windows-1252"> > Hi Victor!> > On Saturday 02 August
> 2008 19:51:14, Viktor S. Kristensen wrote:> > Thank you for your reply, it
> helped me alot! > > once I figured out that I needed to install the admin
> package first, simply by typing ipkg install cherokee-admin it went smooth,
> almost.. :) > > I'm glad I could help :)> > > I have some questions that I
> hope you can answer! > > > > #1> > I don't understand why the adminpage says
> > > "Server status> > Server is not running. " > > > > It seems its active
> because I can access all my php scripts on the webserver from a browser etc..
> uhhm.. when I type cherokee in my linux terminal I get: > > > > #
> cherokeeserver.c:715: Can't bind() socket (port=8008, UID=0, GID=0)> > Do you
> know what I need to get it active in the admin page? > > You could try
> manualy kill
> ing your cherokee instance and then launching the server through the admin
> interface (as oposed of launching it manually or through your rc?.d).> It
> could be related to that.> > > #2> > I really want it to be a secure server,
> so that nobody but those who know the password can access the webserver from
> remote locations.> [...]> > But it would be a big help if you could provide
> information how to design the auth database and what I should write in the
> SQL query.. or maybe if you could direct me to a guide for setting it up..
> thank you so far ! > > Have your tried
> http://www.cherokee-project.com/doc/modules_validators_mysql.html ?> If you
> did and it did not help, please tell me specifically what could be improved
> in your opinion.> We're in the process of restructuring and rewriting
> documentation prior to the release of Cherokee 0.8 (there's a thread about
> that, "Feedback: Improving the quality of Cherokee's documentation"), and
> this kind of feedback would be very useful. Docume
> ntation seems to be the only downside I've read about in some reviews of
> Cherokee, and we're commited to fix that once and for all :)> > -- > [EMAIL
> PROTECTED]> http://unixwars.com> > > ------------------------------> >
> _______________________________________________> Cherokee mailing list>
> [email protected]> http://lists.octality.com/listinfo/cherokee> > >
> End of Cherokee Digest, Vol 2, Issue 4> **************************************
> _________________________________________________________________
> Explore the seven wonders of the world
> http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.octality.com/pipermail/cherokee/attachments/20080804/1f91e82e/attachment.html
>
>
> ------------------------------
>
> _______________________________________________
> Cherokee mailing list
> [email protected]
> http://lists.octality.com/listinfo/cherokee
>
>
> End of Cherokee Digest, Vol 2, Issue 5
> **************************************
_________________________________________________________________
Explore the seven wonders of the world
http://search.msn.com/results.aspx?q=7+wonders+world&mkt=en-US&form=QBRE
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee