![]() |
|
|
||||
|
||||
LCSEE Helpdesk Frequently Asked QuestionsGeneral Information
Ubuntu Linux
Microsoft WindowsApple Mac OS X
Printing
Computing Accounts
Senior Design Projects
My question isn't answered here, what do I do?If you have a question which isn't answered by this FAQ, you are encouraged to email lcseehelpdesk@mail.wvu.edu. Where can I download OpenOffice.org?You can visit http://www.libreoffice.org. What is a good reference for learning GNU/Linux?Well, there are a lot. One good introduction is located at http://www.linux-tutorial.info. What GNU/Linux Distribution is used in the LCSEE?I am a WVU student can I get antivirus support?Yes. Go here for installation instructions. Where can I find documentation on the C library?GNU libc is installed on the shell servers as well as all Linux lab machines. Documentation can be found here. How can I add images/files to my LCSEE maintained wiki?For this guide you will need to have a Linux terminal running. If you are in Windows, you can use an ssh client to connect to the shell server to perform these steps. Step 1. Check out the wiki through subversion. Open a terminal and traverse to any local directory and use: prompt$ svn co https://wiki.lcsee.wvu.edu/svn/WIKINAME If prompted, accept the license. A new directory will be created in the current directory named WIKINAME. Step 2. Add the desired file(s) to the newly created WIKINAME/trunk directory. Step 3. Use the following command prompt$ svn add FILES.EXT inside the trunk directory, replacing FILES.EXT with the name(s) of the file(s) you have just moved to trunk. Step 4. Commit the subversion update by executing prompt$ svn commit inside your trunk directory. You may now create links to the file in the ikiwiki using the normal linking mechanism, simply type [[FILE.EXT]] in the edit box, replacing FILE.EXT with the file name and extension. How can I request MSDNAA software?The MSDNAA, or Microsoft Developers Network Academic Alliance, is a collection of software packages from Microsoft that can be given to LCSEE Students and Faculty. Some of the common packages include the Microsoft Windows Operating Systems and Visual Studio. If a faculty member would like an operating system or software package such as Visual Studio installed on his or her computer, we can use the copy we have stored in the systems office to do that installation. Students requesting MSDNAA software for personal machines must make requests through the MSDNAA Program Administrator, which may be reached at msdnaa-request@csee.wvu.edu How do I login?Ubuntu Linux machines now use WVU MasterID to authenticate. To make sure your masterid account is valid visit http://masterid.wvu.edu. If you know your masterid username and password is correct and you are still havingg problems logging email lcseehelpdesk@mail.wvu.edu, visit the LCSEE Systems Office in 701ESB, or call 304-293-3475. How do I change my login shell?ssh into shell.csee.wvu.edu and run the following command: prompt$ ldap-chfn Using this command, you can change many pieces of information dealing with your account, including your login shell. To leave an entry unchanged, simply press enter for that entry. Typically, the shell on a GNU/Linux account is /bin/bash, though you may choose alternately /bin/ksh, /bin/tcsh, or /bin/zsh. Although /bin/ash is an additional shell, it is not provided by default on LCSEE machines. How do I burn cds under Ubuntu in the labs?CDs can be created by searching for Brasero Disc Burner from the Unity/Ubuntu drop-down menu on the left side of the desktop bar. Select the project that you would like to create and follow the directions. Finally, click "burn", "create image" etc. How do I burn an iso under Ubuntu in the labs?Open the Brasero Disc Burner by searching in the Unity/Ubuntu drop-down menu on the left side of the desktop bar. Click the "Burn Image" project. Browse for for the location of the image file. Finally, select "create image". Which files are automatically copied into home from cloudhome?Every night at 5am home directories are refreshed and seeded with the following files. /cloudhome/username/.ssh/config /cloudhome/username/.bashrc How do I mount a cdrom under Ubuntu?A cdrom should mount automatically in NattyL, however, it can also be manually mounted by selecting Places/Computer and then right clicking on the cdrom drive icon and choosing Mount Volume. In Unity this can be found in the "Home Folder" tab of the popout menu. How do I unmount a cdrom under Ubuntu?The cdrom may be manually unmounted by selecting Places/Computer in Gnome or Home Folder in Unity and then right clicking on the cdrom drive icon and choosing Unmount Volume option. How do I get a listing of process under Ubuntu? (Similar to ctrl-alt-delete under Microsoft Windows)The running processes are accessible through the system monitor applet which can be accessed though the menu path system/administration in Gnome. In Unity, the system monitor applet can be found by searching the Unity drop-down menu located on the left side of the toolbar. How do I access a floppy/cdrom under Ubuntu?A drive may be manually mounted by selecting Places/Computer in Gnome or Home Folder in Unity and then right clicking on the floppy drive icon and choosing Mount Volume. The drive can then be accessed from this window as well as the corresponding drive icon on the desktop. Be sure to unmount the disk or drive before removing it in order to prevent the disk from becoming damaged or risk having data lost. How do I access the run command under Ubuntu?Open a terminal and run the desired command in that terminal. To open a terminal in Gnome you can select terminal under applications/accessories or in Unity select the terminal icon on the popout toolbar or you can use hotkeys "ctrl+alt+t". How do I browse files outside of my home directory under Ubuntu?Files outside of the home directory may be browsed by clicking on the Home Folder icon on the popout toolbar in Unity or in Gnome, select places/computer. From here you can select filesystem which will put you in the root directory. You can follow the directory trees to reach the directory you want. Your home directory will have your username with a symbol of a house next to it. How do I use instant messaging under Ubuntu?Use Pidgin. For Pidgin, click on applications in Gnome, scroll down to internet, then over to Pidgin. In Unity, search Pidgin or select internet apps then Pidgin in the drop-down menu located on the Ubuntu symbol on the left side of the top toolbar. How do I run remote X Applications from the shell servers on my MS Windows computer on the LCSEE network?If you are using Windows computer that is connected to the LCSEE network and want to run an X application from the shell servers, such as the graphical version of emacs, follow the instructions below. First, download and install Cygwin from http://www.cygwin.com While configuring Cygwin, be sure to select XFree86 and OpenSSH when you are choosing packages to install. After installation, open a Cygwin Bash Prompt by double clicking the Cygwin Icon. Startup X by typing 'xwin -multiwindow &' at the cygwin shell. Set your DISPLAY by typing 'export DISPLAY=:0' at the cygwin shell. Login to the shell servers via SSH. Be sure to use the -X option to allow the X connection to tunnel thorough SSH. Type 'ssh -p 20110 -X username@shell.csee.wvu.edu' at the cygwin prompt. For the shell server, use your MasterID and password. The port has been change to 20110 as well and has been included in the ssh command above. Run your favorite X application, such as emacs, and it should appear on your Windows Desktop. How do I manipulate zip files?In the file browser, you can double click on a zip file and it will open. To create zip files you can run Applications->Accessories->file-roller to manipulate zip and other archive formats such as bzip2. How do I run Matlab?Matlab has been moved to the new proprietary shell servers which will be running Cent0S. The proprietary shell servers can be reached by using the following command: $ssh -Xp 20110 username@proprietary.lcsee.wvu.eduYour MyID password will be required to login. Type matlab in the terminal to open the program. $matlab How do I make and use a subversion repository in my home directory?(1) Make a directory in your home folder* which will hold the repository. (Important Note: You DO NOT want to work directly on the files in the repository. Instead you will check them out and then use subversion to commit changes back to the repository.) prompt$ mkdir myrepository (2) Use svnadmin to populate your repository directory with the files subversion uses to maintain your repository. prompt$ svnadmin create myrepository (3) Import your project files into your repository for the first time. In the example the contents of an entire directory (named testsvnproject) are added to the repository. prompt$ svn import testsvnproject file:///home/user_name/myrepository/
{shell output} (4) Now you need to checkout your files from the repository to a new place so you can work on them. In the example the entire contents of myrepository are checked out to a folder called sandbox user_name@host_name sandbox$ svn co file:///home/user_name/myrepository/
{shell output} (5) At this point you can edit the contents of individual files and then commit the changes back to the repository. For the purpose of the example the contents of the file text1.txt have been modified. In order for the changes to be reflected in the repositry they must be commited back to it. user_name@host_name sandbox$ svn commit text1.txt (7) At this point you will be prompted to enter a comment pertaining to the changes which you are commiting. Do so and you are finished. use the command "man svn" for more details. * If you wish to set up subversion for your home directory and not a folder within your home directory, you will need to do an additional step, you will need to change the filesystem for your repository from Berkeley Database to fsfs**. This is done by simply running the command 'svnadmin create --fs-type fsfs'. Or, if BerkeleyDB wasn't detected at compile time, 'svnadmin create' will default to type fsfs. **For more information regarding this, please refer to this link. What is the default version of java, and how do I access it?The default installed version of java is Sun Microsystems (c) Java RE 1.6.0. To access it, simply type java. To verify that you are running the correct version, type "java -version" from the command line. The output should look similar to this:
user@756esb001:~$ java -version
java version "1.5.0_06"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)
How do I access the free software version of java?All csee machines also include a copy of the the free software version of java, although it is not used by default. Please be advised that the free software version of java operates on older version of the Java environment then what is provided by the Sun Microsystems version. To access this version from the command line, you must invoke /usr/lib/jvm/java-gcj/bin/java instead of just java whenever you go to use the command. To make eclipse use this version of java, follow the instructions for upgrading eclipse, but during step 3 use /usr/lib/jvm/java-gcj as the JRE home and use java-gcj as the JRE name. Firefox won't start up, and it gives me an error saying "Firefox is already running" even though it is not. How do I fix this?When either Firefox or Thunderbird are started, they create a lock file. The purpose of this is to prevent multiple instances of the program from running simultaneously. When Firefox, or Thunderbird, are closed, the program will automatically remove these lock files. Sometimes, this does not occur. The most common reason for this is improper shutdown of the computer. This prevents Firefox from deleting the lock file, so the next time it is ran, it will find a lock file already in place and fail to start. The way to fix this is to manually remove these files. How do I point Eclipse to a local copy of javadocs?Follow the instructions here. I'm in 756ESB, how do I access Windows?We've moved to using a virtual Windows environment for this lab. To access said environment in Gnome: Open your applications menu(located in the upper left), click Accessories, then click Windows. To access said environment in Unity: Open the drop-down toolbar menu by clicking the Ubuntu symbol on the left side of the upper toolbar. Then search for windows and select the windows icon when it appears. How can I run Cadence on the lab machines?Candence will now be located on our proprietary shell servers. To use Cadence, you must first log onto one of these shells. ssh via port 20110 to shells with the following command: $ssh -Xp 20110 username@proprietary.lcsee.wvu.edu To run cadence you simply need to run one of the following commands (depending on the version you want): #cadence-5141 #cadence-610Those commands run either IC5141 or IC610, respectively. The commands will also create the necessary environmental files in your home directory as well. Alternatively you can start cadence run the following commands from your home directory: $ cadence-usersetup $ source .bashrc $ icfbThat should get Cadence running. And anytime after, you will just need to run 'icfb'. If you have any other issues, please let us know. I am running MPB, MEEP, and h5utils simulations and I receive a "Could not find colormap [color]" error, why?This error occurs because some of the h5utils look for the colormap in the present working directory. To avoid this error, you can try one of the following: prompt$ ln -s /usr/share/h5utils/colormaps/[color] [color] prompt$ [h5utils command that you would normally run] Or, you can add a flag to specify the location of the colormap. For example, prompt$ h5topng -S 3 epsilon.h5 -c /usr/share/h5utils/colormaps/gray How can I use TinyOS on the 756 and 813 Linux machines?TinyOS is installed on our Linux desktops located in 756 ESB and 813 ESB. The installation path for this is /opt/tinyos-2.1.0 To use TinyOS, you will need to make sure that you are not trying to build anything inside the /opt/tinyos-2.1.0 directory and that you have sourced the bashrc file provided by TinyOS. The command is shown below. source /opt/tinyos-2.1.0/tinyos.sh To do this automatically upon login, you can simply add the line to your ~/.bashrc file. If you are having permission errors writing to the USB dongle, please visit the systems office in 701 ESB to have this resolved. How can I run Slime (lisp) in Emacs?Before you can run slime through emacs you need to edit your ~/.emacs file and add the following snippet. (setq inferior-lisp-program "/usr/bin/sbcl") (add-to-list 'load-path "/usr/share/common-lisp/source/slime/") (require 'slime) (slime-setup) With the configuration in place in your .emacs file you can run slime by firing up emacs and entering the following key sequence, where M (meta) is ESC or ALT. M-x slime How do I use ssh keys on the shell server?If you would like to use ssh keys on our shell servers you will need to put your authorized_keys file in your /cloudhome/username/.ssh folder. You will need to do the following to set up you ssh keys for use with our servers. You will also need to be logged into an lcsee lab machine.
Keychain Access asks for keychain "login" after changing login/MasterID password?While running Ubuntu, if you receive a message asking for your keychain password after you have changed your MasterID password, you can reset your keychain using the following directions. This will cause the keychain to be unlocked automatically when you log in.
I want Timmnix, but I need Ubuntu. How should I install Ubuntu on VirtualBox?Currently Timmnix is only supported on the the 32bit Ubuntu 11.04 operating system. The following instructions are only the suggested installation procedure for setting up VirtualBox with an Ubuntu Guest.
How do I create a shared folder to use with an Ubuntu guest on Virtualbox?The package loud-timmnix, which allows the invocation of the Timmnix environment, is also designed to be used on a 32bit Natty Ubuntu (11.04) guest in VirtualBox which has a shared folder. If you have superuser privileges on your personal computer, loud-timmnix will add you to the the group "vboxsf", thereby granting you access to your shared folder. Sure, you can do this yourself, but why not let loud-timmnix do the work. You will of course need to first create a shared folder on your host machine, then enable this folder in your VirtualBox Manager for your desired guest machine. Make sure to select the option for automounting the shared folder, this will make your life much easier. The following commands can then be used to set up your shared folder on your Ubuntu guest virtual machine. Execute the following commands from your Ubuntu guest virtual machine in the command terminal.
How do install loud-timmnix on a personal computer?The following steps can be used to install the 32bit Timmnix package on your personal computer (not a lab computer). This can only be performed on the 32bit Ubuntu version 11.04. There are two ways to accomplish this. The first way involves setting up the correct repository which will enable you to apt-get install loud-timmnix. The 2nd method is running a setup script which will do the exact same thing as the first method. The 2nd method requires access to our shell server to download the setup script. The 1st installation method is as follows... You will need to download and install loud-apt from our repository, update your computer and then install loud-timmnix. From a command terminal enter the following commands:
The 2nd setup method of Timmnix on a 32bit HOME/PERSONAL Ubuntu based computer can be performed by doing the following:
Now that you have loud-timmnix installed on your personal computer, you can visit our How do I invoke the timmnix environment on an Linux computer in our lab? on our "Frequently Asked Questions" page to find directions on how to invoke the Timmnix environment. How do I invoke the timmnix environment on an Linux computer in our lab?These directions are for the 32bit Ubuntu 11.04. To invoke the linux environment Timmnix, perform the following steps:
You should then receive the following message in the terminal: "There are those who call me... Timm... nix (version ##)." You may also receive the message: "usermod: group 'vboxsf' does not exist"Ignore this unless you are a VirtualBox guest user and wish to set up a shared folder, in which case please visit How do I create a shared folder to use with an Ubuntu guest on Virtualbox? on our "Frequently Ask Questions" page regarding setting up a shared folder on a virtual box. *IMPORTANT* To run emacs or vim in the Timmnix environment simply type "emacs" or "vim" in the SAME terminal in which you ran the "/usr/bin/loud-timmnix" command. This will not work in any other terminal unless "/usr/bin/loud-timmnix" is first called. I'm a faculty/staff member, how can I access my Windows system remotely?First, you will need to contact OIT's Help Desk to have your Citrix MasterApps account activated for remote desktop sharing. For information about how to contact the OIT Help Desk, please click here. Next, you will need to login to your Citrix MasterApps account by going here. Once you have logged into Citrix using your MasterID, click on the Remote Access application. Provide your IP address where promoted, which you can find from the following steps:
Keychain Access asks for keychain "login" after changing login/MasterID passwordIf you want your default keychain to be unlocked automatically when you log in, synchronize your Keychain Access and account login passwords by doing this:
How do I configure Mozilla Thunderbird to access my Mix email?Mozilla Thunderbird provides an alternative to using the web interface for your email accounts. This is useful if you have more than one email account, and wish to be able to check them quickly in one place, or you wish to save your emails locally to your computer. In order to use Thunderbird to access your Mix email account, a few steps need to be taken.
How can I configure my mail client to use SMTP Authentication?Simple Mail Transfer Protocol(SMTP) is today's standard for email and internet faxes across the internet. It's a simple, text-based protocol, where one or more recipients of a message are specified (and in most cases verified to exist) and then the message text is transferred. You can use the following steps as a guidline to configure your email client to use SMTP Authentication. Authenticated SMTP will allow you to use your LCSEE account to send mail from anywhere on the internet and will work with any of your email accounts.
If configured properly, the next time you send an email you should be asked to login to your account again. This should only happen once per session depending on the email client. If you need further assistance feel free to contact us at helpdesk@csee.wvu.edu. How can I send an email to all LCSEE faculty members through Groupwise?The LCSEE maintained faculty@lcsee.wvu.edu mailing list has been dissolved, however, it is possible to accomplish the same thing using Groupwise. For details on doing this, please select your operating system from the list below: What command should I use to print from shell?One command you can use is a2ps by typing 'a2ps filename'. When using this command you also need to set your printer to one nearby. Look at the next faq item for more information on how to do that. If you want to print using a graphical interface you can use the command qtcups by typing 'qtcups filename'. Look at the manual pages for more information about these two print commands by typing 'man a2ps' or 'man qtcups' at a terminal prompt. I'm trying to print from shell, where are my jobs going?Check and see what your printer variable is set to by typing 'echo $PRINTER' at a terminal prompt. The value it returns should tell you where your jobs are set to go. If this command returns the name of a printer that is not nearby then you probably want to change the value. To set your printer only for the current session in a bash shell type 'export PRINTER=printer_name' at a terminal prompt. To see which shell you are running type 'echo $SHELL' at the prompt. If you want to change your default printer permanently then you can change the printer environment variable in your Unix login file, which is a script that's executed every time you log in. If you are running in a bash shell (which we recommend), then your login file is named '.bashrc'. If you cannot find a login file in your home directory corresponding to the shell you use, then just create the file with a text editor (like emacs). Inside the file you need to include the appropriate line to set your printer variable, which is 'export PRINTER=printer_name' for bash. Now, the next time you login your default printer should be set to that value. When I try to print it says, "Print quota exceeded", what should I do?You've exceeded your print quota and you cannot print from your LCSEE account for the remainder of the week. If you have an assignment due or if there's an important document you need to print then you can go to the Systems Administration Office and ask a staff member to print it for you. Every week your print quota is refreshed and your usage goes back to zero so that you can print again. Look at the policies section of our website for more information about your print quota. How do I setup CUPS printing in Evolution?Go to File->Print and make sure that the 'printer' tab is selected on the window that comes up. Now, change the 'Location' to 'Custom' using the drop-down box, and enter 'qtcups' into the field located to the right of the drop-down box. Adding and Re-adding a CSEE printer in WindowsTo add a CSEE network printer under windows go to Start->Run and in the box that appears enter '\\printers.csee.wvu.edu'. Double clicking on the printer you wish to use will install it to your local printers. Once it or they are installed you will be able to select the printer(s) from the drop down menu after doing File->Print in any Windows application. To re-add an already installed printer, which you will want to do if you are having problems printing or the printer at a given location has changed, go to Start->Control Panel->Printers and delete the printer which you wish to reinstall. Once the printer is deleted follow the normal steps for re-adding it by going to '\\printers.csee.wvu.edu' and double clicking to install. How do I print in duplex?It is possible to print in duplex using the command line from many of the printers in the department. You will need to print using lpr to accomplish this. In order to print in duplex, pass lpr the option "-o Duplex=DuplexNoTumble", which will tell it you would like to print in duplex. This will work on every printer except those in 756, 757, 901, and 953. These printers do not have a duplexing unit. An example of this would be: prompt$ lpr -Pps813esb -o Duplex=DuplexNoTumble foo When I try to print there are no printers available or I receive the following message "You do not have sufficient access to your computer to connect to the selected printer". How can I print?The cause of this error appears to be a corrupted profile settings file. There are many ways this can occur, such as improper logout, power outage, or even simultaneously logging out of two or more locations. This issue can easily be fixed though. According to several knowledge base entries on Microsoft's website, the only way to repair a corrupted profile is to reset it. To repair it, you can simply type 'nuke-win' into the terminal on any Linux machine or shell server. This script will back up your current Windows profile to your home directory (including all of your files), and then reset the corrupted profile. Before you run this script, be sure that you are not currently logged in to any Windows machines, because this will not allow the system to reset the corrupted profile. If this does not fix the problem, please send an e-mail to helpdesk@csee.wvu.edu or stop by room 701 ESB so that we can help you. How do I change my password?Visit http://masterid.wvu.edu for information on changing your masterid password. I can't login anymore... what happened and what do I do?Visit http://masterid.wvu.edu to see if your masterid account is active. If it is active and you are sure you are entering the correct username and password then send email to lcseehelpdesk@mail.wvu.edu, visit the LCSEE Systems Office in 701ESB, or call 304-293-3475 What quotas do I have and why are they important?There are two quotas you need to be concerned about that are associated with your LCSEE account. These include a disc quota on your Unix home directory and a print quota you must stay beneath when you're printing in the LCSEE labs. If you go over a quota then things stop working, often at a crucial moment, so try to be conservative with your disc space and print jobs. If you exceed one of your disc quota to a point where you can no longer remove files on your own then you'll need to stop by the Systems Administration Office to get back under your quota. If you exceed your print quota then you can ask a Systems staff member to print an important document for you, but your print quota will not be reset until the beginning of the next week. If you exceed the quota on the Inbox of your email account then all email sent to your address in the meantime will bounce. To fix the problem you need to remove enough messages from your Inbox so that you have enough space to recieve new email. See the policies section on the helpdesk website for more information about your quotas. Where did all my files go?If you had files stored in accounts before we switched over to MasterID, they can be accessed via ssh to dmzlegacyshell001.lcsee.wvu.edu and dmzlegacyshell002.lcsee.wvu.edu. What is LCSEE cloud storage?LCSEE cloud storage is a service to offer transparent persistent data across LCSEE shell server and LCSEE Lab Machines. Users can request a /cloudhome/ directory by sending email to lcseehelpdesk@mail.wvu.edu. How do I create a web page in my student account?Students are encouraged to check out WVU's web hosting for hosting their personal pages. Should a student require webspace for coursework, a request should be sent into lcseehelpdesk@mail.wvu.edu. These will be reviewed on a case by case basis and may require sponsorship from a faculty member. The Apache HTTP server is configured to serve your personal homepage from a directory in the root of your home directory called 'public_html'. In order for the page to be viewable, the UNIX file permissions for all directories under and including this directory must be world readable and executable, and all files must be world readable. The default page to be displayed should be called 'index.html'. The following commands create and set the proper permissions to publish a webpage that you have already created:
prompt$ mkdir ~/public_html
prompt$ cp ~/index.html ~/public_html/index.html
prompt$ chmod 755 ~/public_html
prompt$ chmod 644 ~/public_html/*.html
The URL http://www.csee.wvu.edu/~username/ will refer to your personal webpage located in /home/username/public_html/. Note that writing an actual HTML document is beyond the scope of this FAQ, however many tutorials may be found on the web, eg. http://www.w3schools.com/html/html_intro.asp. I need senior design space and a group. How do I have this arranged?Please send a request to helpdesk@csee.wvu.edu with the following information:
Where is my webpage located?http://www.csee.wvu.edu/classes/ee480/term1term2projects/projectname What is the path for my senior design space?Login to a departmental Linux machine or shell server and change directory to /projects/classes/ee480/projectsdirectory. The projects directory name is based on the set of semesters you're involved with senior design. For example, if you start senior design in the Fall 2006 semester and complete senior design in the Spring 2007 semester, your project space should be f06s07projects. I can access all of the files in my senior design folder, but my teammates cannot.
Check the permissions on the files in the directory by running Why don't certain items appear on the website, even though they appear fine in the directory?
This is probably a problem with the individual files' permissions.
You can check this by running What is a .htaccess file?This is a file that describes how the webpage should act. Things such as custom error messages and site redirections can be set in this file as well as enabling user passwords. How do I create a .htaccess file?
The easiest way to do this would be to go into the top level
directory of your website, or which ever directory you wish to protect,
and run I have my .htaccess file, what can I do with it now?There are many tutorials online regarding the many things you can do with .htaccess, some of which are beyond the scope of this. How can I use my .htaccess to provide a login mechinism for my website?First add these lines to your .htaccess file:
touch
.htpasswd in the location you would like the file to be. Then you will
need to add usernames and passwords into this file. The format would be
username:password. It is recommended that you set this file to not
be world readable/writeable.
|
![]() |
| WVU - College - Home © 2003 West Virginia University |