[Cherokee] Cherokee Digest, Vol 2, Issue 4 - reply to Authentication (Taher Shihadeh)
Viktor S. Kristensen
vikezz at hotmail.com
Mon Aug 4 13:05:42 CEST 2008
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/724751b024.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! Im 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: cherokee-request at lists.octality.com> Subject: Cherokee Digest, Vol 2, Issue 4> To: cherokee at lists.octality.com> Date: Mon, 4 Aug 2008 12:00:01 +0200> > Send Cherokee mailing list submissions to> cherokee at lists.octality.com> > 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> cherokee-request at lists.octality.com> > You can reach the person managing the list at> cherokee-owner at lists.octality.com> > 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 <taher at unixwars.com>> Subject: Re: [Cherokee] Cherokee Digest, Vol 1, Issue 10 - reply to> Authentication> To: "Viktor S. Kristensen" <vikezz at hotmail.com>> Cc: cherokee at lists.octality.com> Message-ID: <200808031639.29081.taher at unixwars.com>> 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 killing 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. Documentation 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 :)> > -- > taher at unixwars.com> http://unixwars.com> > > ------------------------------> > _______________________________________________> Cherokee mailing list> Cherokee at lists.octality.com> 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.htm
More information about the Cherokee
mailing list