DannyH Posted July 10, 2008 Report Share Posted July 10, 2008 Hi All, I would like to use a login script or a .HTACCES File for logging in users but not sure if this is going to be a easy or not? Basically I would like a user to login and then be redirect to there own page which I have created for them. Do I have to use PHP & SQL or can I just use .HTACCESS Any thoughts or help to point me in the right direction would be much appreciated Nosher Quote Personal website Uniform Server - hMail Server - Joomla Link to comment Share on other sites More sharing options...
Ric Posted July 10, 2008 Report Share Posted July 10, 2008 Apache's basic authentication is not very flexible. It allows protection of directories but not selective redirection. This page may be worth a read http://www.daniweb.com/forums/thread84503.html You did not indicate any level of security, think about SSL, stunnel etc I think you are looking at a sessions solution and MySQL All the bestRic Quote Link to comment Share on other sites More sharing options...
DannyH Posted July 11, 2008 Author Report Share Posted July 11, 2008 Thanks for getting back to me Rick, Now can i run SSL, stunnel on the same server that i have go my normal websites on ? Danny Quote Personal website Uniform Server - hMail Server - Joomla Link to comment Share on other sites More sharing options...
Ric Posted July 11, 2008 Report Share Posted July 11, 2008 I think this write-up may be of use: http://wiki.uniformserver.com/index.php/St...l:_Single_Vhost Also take a look at this section may be worth reading: Paranoid - Protect each page All the bestRic Quote Link to comment Share on other sites More sharing options...
DannyH Posted July 15, 2008 Author Report Share Posted July 15, 2008 Thanks Ric for getting back to me, Thanks for the last post regarding SSL, stunnel etc I am really sorry to ask but I am pulling my hair out here, Now what I am trying to achieve is:A user logs into our website and is then redirect to a page I have created for them so they are able to download some personal files Example: Bob logs in and is redirect to Bobs personal page Danny logs in and is redirect to Danny’s Personal page Now be honest Ric, am I wasting my time looking around for this? Is it just best to pay a programmer to create what I am asking, if so do you know anyone that could do this for me? Many Thanks in advance Ric, I do appreciate any of your time and adviceDanny H Quote Personal website Uniform Server - hMail Server - Joomla Link to comment Share on other sites More sharing options...
kalpz Posted July 17, 2008 Report Share Posted July 17, 2008 HiDo you have any experience in PHP? If you are going to have multiple users, It may be easier to create a database and drive your site with it. It will allow you to easily manage your users and that. PHP has sessions which can control who is logged in and who is not. If you do not have experience in programming, I would be available to write a script for you for a small price if you are interested. This is of course up to you.. Just letting you know that it is definitely possible using PHP/MySQL Database. --Kalpz Quote ATOMIC Web Hosting 2007 - 2011 Shared Hosting - Reseller Hosting - Dedicated Servers - Virtual Private Servers (Request Dedicated/VPS Servers via E-mail) E-mail: sales@atomicwebhosting.com Website: http://www.atomicwebhosting.com/ Link to comment Share on other sites More sharing options...
Ric Posted July 17, 2008 Report Share Posted July 17, 2008 Hi DannyH This page will be of interest http://wiki.uniformserver.com/index.php/Ba...and_redirection Well when its finished. All the bestRic Quote Link to comment Share on other sites More sharing options...
Ric Posted July 20, 2008 Report Share Posted July 20, 2008 Hi Danny If you are still looking for a solution I have just published something of interest check out these pages: http://wiki.uniformserver.com/index.php/Ba...and_redirection http://wiki.uniformserver.com/index.php/Mi...vers:_Server_1c http://wiki.uniformserver.com/index.php/Mi...Server_1d_-_SSL http://wiki.uniformserver.com/index.php/Mi..._SSL_Standalone The last one is a secure server; you can run this alongside Uniform Server All the bestRic Quote Link to comment Share on other sites More sharing options...
DannyH Posted July 21, 2008 Author Report Share Posted July 21, 2008 Hi Ric, So sorry for the delay on getting back to you I have not been very well Well what can I say but again a big thank you for your help it is very much appreciated! And I am going to find this so useful for what I am doing. Thanks also to Kalpz for your input if I need any programming I will contact you DannyH Quote Personal website Uniform Server - hMail Server - Joomla Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.