arrow_upward

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to password protect some Web pages in Apache with .htaccess
#3
@Vuluts

Let's take some example.
You have 3 file inside /var/www/html/public_html named "a.html", "b.html" and "c.html". Nah afterthat, maybe file "a.html" is a file you don't want everyone to see. So you want to encrypt them with password.
Then you're doing like @deanhills tutorial, and if you open localhost/a.html, it shows you to input/insert your password. But, "b.html" and "c.html" doesn't require you to input the password.

That's how it works.
Thanks to Limitless Hosting and Post4VPS for providing me excellent VPS 13!


Messages In This Thread


person_pin_circle Users browsing this thread: 1 Guest(s)
Sponsors: VirMach - Host4Fun - CubeData - Evolution-Host - HostDare - Hyper Expert - Shadow Hosting - Bladenode - Hostlease - RackNerd - ReadyDedis - Limitless Hosting