yanling Posted February 17, 2006 Posted February 17, 2006 hey everybody , I want to set up password for my admin page ,are there somebody knows how to do it ?? # thanks for help!! yanling
Guest Posted February 17, 2006 Posted February 17, 2006 In your Hosting provider control panel, you should have a feature called "password protect directory" (or similar) The_Bear
Raquel Posted February 17, 2006 Posted February 17, 2006 hey everybody , I want to set up password for my admin page ,are there somebody knows how to do it ?? # thanks for help!! yanling Are you using a control panel, or do you have a shell acount with your provider? -- I need no warrant for being, and no word of sanction upon my being. I am the warrant and the sanction. Ayn Rand
yanling Posted February 21, 2006 Author Posted February 21, 2006 thanks all of ur reply . I think we use shell account , I canot find something similar to password protect directory
Raquel Posted February 21, 2006 Posted February 21, 2006 thanks all of ur reply .I think we use shell account , I canot find something similar to password protect directory In your admin/.htaccess file you can add the following code. However, it's use is much faster when used in placed in the apache configuration file. <Directory "/var/www/paradisetoys/catalog/admin"> AuthType Basic AuthName "By Invitation Only" AuthUserFile /var/www/passwords Require valid-user </Directory> -- I need no warrant for being, and no word of sanction upon my being. I am the warrant and the sanction. Ayn Rand
Recommended Posts
Archived
This topic is now archived and is closed to further replies.