I remember doing this back in '03 on my first home-based Apache install. Fond memories indeed!
@TonyTeachesTech3 жыл бұрын
Throwback :)
@SuperMBARutgers2013 Жыл бұрын
You are an awesome teach. Thank you sir.
@fotografm3 жыл бұрын
Thank you for that clear information, Tony. It worked for me first time and then I managed to extend it to nginx to password protect my Jitsi server (with a little help from your blog). I am very grateful to you :-)
@TonyTeachesTech3 жыл бұрын
Nice work! Happy to help Simon
@camy_dev Жыл бұрын
thank you, I was struggling for hours trying to get it, I had my own config file for that site and according to sites enabled it was indeed the one active but for some reason i couldn't get it to work, simply following your example I copy and pasted my directory into the default config and it worked right away, strange but it working ty
@chandratirta8240 Жыл бұрын
Hello guyss... Have a nice day 😎 So, I need help about this ., I have a question ., I've tried this method to protect the folder and it's good, but after entering the password the first time and when the page is reloaded it won't ask for the password again (most likely the password is stored in the browser cache). what I want to know is how do I make it so that when the page is reloaded or when I open a new tab with the same URL (more than 1 tab) a popup will still appear, enter username & password ???
@fouadchaar40212 жыл бұрын
thank you Tony. how can i call solr (with basic authentication) from application.?
@DanangSuprastiya Жыл бұрын
what if using centos? where is the configuration? do you have the tutorial?
@majidderkaoui3 жыл бұрын
Thank you Mr.Tony
@TonyTeachesTech3 жыл бұрын
You're welcome!
@benfau9992 Жыл бұрын
Thank you for your tutorial
@TonyTeachesTech Жыл бұрын
You're welcome 😊
@subhamthemusicalguy88513 жыл бұрын
Thank you so much, You saved my day.
@TonyTeachesTech3 жыл бұрын
You're welcome!
@coreycodez2 жыл бұрын
How is the your var/www/html file structured though? I did this with a basic index.html file just saying "This is a test page". I would like to have a sign in prior to users hitting that page, but everytime I try, it doesn't ask for anything.....idk what I am doing wrong.
@TonyTeachesTech2 жыл бұрын
If you have /var/www/html/index.html and follow the instructions in this video, you should be prompted for credentials before a user is able to access the page
@longrolstral2 жыл бұрын
Did you figure it out? I have the same problem: no authentication at all.
@maliklafia40773 жыл бұрын
Thanks you Bro. You've saved me today
@TonyTeachesTech3 жыл бұрын
You’re welcome!
@rootuserjarvis2 жыл бұрын
How to do the same thing with docker without using Nginx?
@llamingo8 ай бұрын
How safe is this from brute force attacks?
@darphaprothon202 жыл бұрын
will it work if i remove admin and keep /var/www/html/ to block the main page ?
@longrolstral2 жыл бұрын
It didn't work. Nothing changed regarding accessing the directory. I did restart apache2. Perhaps there's something wrong with Apache Server.
@johnstonestuart43323 жыл бұрын
Great video...KUdos i got a .db file in some directory how can i display the contents on apache site
@TonyTeachesTech3 жыл бұрын
Is it a MySQL database export file? You'll need to spin up a MySQL server and retrieve the data from there
@dev_manish4 жыл бұрын
Since Openlitespeed and Apache are quite similar, do you think this would work on Openlitespeed as well.
@TonyTeachesTech4 жыл бұрын
That's a good question. I plan to test this out soon
@dev_manish4 жыл бұрын
@@TonyTeachesTech As always, I'll be waiting ✌🏼
@TonyTeachesTech4 жыл бұрын
@@LyleSpringer Perhaps this one? openlitespeed.org/kb/user-authentication-through-realms/
@Satyakibat36942 жыл бұрын
Hey tony, How you creat this awesome web page ? Please make a vedio on it 😃.
@laci2724 жыл бұрын
Good video, you could have mentioned .htaccess folder password protection, too, for people who are not comfortable editing the host file, or have a control panel that doesn't support basic auth out of the box..
@TonyTeachesTech4 жыл бұрын
Thanks, good suggestion
@laci2724 жыл бұрын
@@TonyTeachesTech you have really good videos, I'm commenting to make the algorithm recommend your channel, only good intentions here
@TonyTeachesTech4 жыл бұрын
@@laci272 thank you so much!!!
@rajeshmoravaneni13603 жыл бұрын
Thank You
@TonyTeachesTech3 жыл бұрын
You're welcome Rajesh
@rajeshmoravaneni13603 жыл бұрын
@@TonyTeachesTech Hello brother I have one request. would you make a video onc omplete details how .htaccess file can be useful to protect website like(Indexing disabled and specific file access denied ) Please make
@valou98202 жыл бұрын
Hi, is it possible to redirect someone who failed authentification ro an other page ?
@TonyTeachesTech2 жыл бұрын
Probably but off the top of my head I don't know a solution
@whazitcrease44553 жыл бұрын
Thanks
@TonyTeachesTech3 жыл бұрын
You're welcome
@1UniverseGames3 жыл бұрын
Nice video, is it possible to make a web server on Ubuntu, any helps if I want to do for myself one
@TonyTeachesTech3 жыл бұрын
Yes of course kzbin.info/www/bejne/aHm8k2yQmsyBqck