Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

login script or a .HTACCES

Featured Replies

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

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

  • Author

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

Personal website

 

Uniform Server - hMail Server - Joomla

  • Author

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

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/

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

  • Author

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

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

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.