Jump to content
The Uniform Server Community

login script or a .HTACCES


DannyH
 Share

Recommended Posts

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

Personal website

 

Uniform Server - hMail Server - Joomla

Link to comment
Share on other sites

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 best

Ric :)

Link to comment
Share on other sites

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 advice

Danny H

Personal website

 

Uniform Server - hMail Server - Joomla

Link to comment
Share on other sites

Hi

Do 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

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

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 best

Ric :)

Link to comment
Share on other sites

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

Personal website

 

Uniform Server - hMail Server - Joomla

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...