Apologies in advance if this is a dense question, I am just slowly learning about PHP by hacking away at other PHP-based CMS.
I am using Indexhibit to set up a website and it uses an index.php to display all the content, i.e. any one page appears as "index.php?/page/." I want to password protect just one page. I successfully set up a .htaccess where I can password protect every page that uses index.php by including the following in the .htaccess like so:
<Files "index.php">
Require valid-user
</Files>
Is is possible to restrict just one page, i.e.
<Files "index.php?/page/">
Require valid-user
</Files>
When I type it that way, it has no effect. Am I missing something or is am I totally misinformed by thinking this is possible?
.htaccess/pw protect on certain pages with Indexhibit
Moderator: General Moderators