im trying to password protect a site so lets say you go to domain.com you will be prompt to enter a username and password
however if i password protect the public_html folder it gives me a mis configuration error
any suggestions?
im trying to password protect a site so lets say you go to domain.com you will be prompt to enter a username and password
however if i password protect the public_html folder it gives me a mis configuration error
any suggestions?
What control panel you using?
.htaccess I take it?
using cpanel
and the easy option in cpanel does not work?
cPanel is an easy to use control panel, maybe you have to contact your hosting company for help.
thanks
i ended up coding a small login php script










I don't believe you can password protect public_html.
You would have to set up an intro page to your site and then password protect.
i coded a plugin script witch needs no httacess file or database so it works good










So does anyone know a way a non-coder can password protect the whole site? I have cpanel too, but no knowledge LOL!
Variable Annuity Comparison | Syracuse Web Design :goofy: | Syracuse News:1969: | PHPCow Help| Annuity Quotes










The whole site?
Meaning that no one can get in unless they have a password?
Just password protect public_html and you should be in business.










Yup, I think the whole site will work, just a silly family site. I may leave the homepage open to view, but not allow anyone to go anywhere else without a password. Not sure yet really
Variable Annuity Comparison | Syracuse Web Design :goofy: | Syracuse News:1969: | PHPCow Help| Annuity Quotes
what cms r u using?
in cpanel can you password protect the whole site, goto password protected directories then click on public_html then give it a username and password
you can do it using .htaccess as well but this is easier.










None, its just an html and worpress website, I just don't want strangers lurking at the younger kids writings in there, I'm a safety freak :P
Thanks! I would do that but have decided to figure out how to just password inner pages and leave the homepage viewable, but unable to go further on any navigation without password confirmation....there has to be a way to this somehow
Variable Annuity Comparison | Syracuse Web Design :goofy: | Syracuse News:1969: | PHPCow Help| Annuity Quotes







You want to password protect the WHOLE public html?







Yeah I love cpanel, i used to have directadmin on my hosting i was paying for and loved that, but cpanel is SOOO much easier and wayyy better!! <3 cpanel!!
And im coming to grim if i ever need help with .htaccess![]()










I thought of doing that originally, but then decided I only really need the inside pages password protested. It not a money making site, just family fun.
Now I get it, thanks as always. That will make it alot easier...I do love cpanel. I hate thinking back to remembering I started out with plesk admin which drove me crazy!
Variable Annuity Comparison | Syracuse Web Design :goofy: | Syracuse News:1969: | PHPCow Help| Annuity Quotes


Guys its very easy to protect your public_html folder in cPanel. In cPanel 11 you will have an option to protect directories. Just click that and enter an username and password and select the directory you want password protect. Save it and your done....! Nobody can access the directory until the username and the pass is entered...!


The very first option will help you to protect you directories...!
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks