Linux / UNIX Tech Support Forum
This is a discussion on login within the Shell scripting forums, part of the Development/Scripting category; Hi HO guys. Started work on my games web panel think it will probably take me many years lol. when ...
|
|||||||
| Shell scripting You can discuss the shell scripting, request shell scripts and scripting techniques |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi HO guys.
Started work on my games web panel think it will probably take me many years lol. when its all done ill be expert at shell scripting perl and php ( i wish) anys ways couple of questions. Is there away that when you go to url At the moment www.mysite.com/wpan.php I can have a pop up box prompting for user and pass that would be the same as any ssh users on the server already. i.e root and roots pass sparky and sparky pass foo and foo pass. ill post 2nd question in seperate topic keep forums neat |
| Sponsored Links | ||
|
|
|
||||
|
Sparky,
you can configure a web server for password prompt. It is called password protected directory. However, do not use UNIX/Linux system accounts i.e. root, user etc until and unless you have ssl / https connection. First create directory called cp, put wpan.php inside cp dir and password protect this /cp/ directory. So if your url should look like as follows: www.mysite.com/cp/wpan.php Instructions for password protecting directory, apache password protect directories with .htaccess file: http://www.cyberciti.biz/faqs/2006/0...irectories.php BTW, which games do you have?
__________________
Rocky Jr. What's wrong? I hope I am not making you uncomfortable... Never send a boy to do a mans job. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cannot Login | mvibin | CentOS / RHEL / Fedora | 5 | 14-05-2008 09:40 AM |
| Unable to login !!! | raina_ajeet | Linux software | 5 | 16-01-2008 01:22 AM |
| dovecot: pop3-login: pop3-login: error while loading shared libraries: libsepol.so.1 | raj | Mail Servers | 1 | 15-11-2007 10:43 AM |
| How do I Double KDM (KDE) Login Screens? | tom | Linux software | 1 | 09-06-2005 02:34 PM |
| Login Without asking password | sonaikar | Linux software | 1 | 20-02-2005 04:46 PM |