Toggle navigation
Dashboard
Dashboard Tracker
Add / Edit My Forums
System Announcements
Discussion
Active Thread Feed
Top Threads Today
Top Threads This Week
Top Threads Library
Go!
View All
View All
Login
Logout
Home
Forums Index
Server Side
/
Apache Web Server
2:22 am Sep 9, 2026
This page requires javascript.
Forum Moderators:
phranque
Message Too Old, No Replies
mod_rewrite and mod_auth
askthefool
Msg#:1517116
10:44 am on Mar 31, 2006
(gmt 0)
Is it possible to password protect "virtual directories". For example, http://example.com/apple/ is actually index.php?page=apple. Is there some way to password protect the /apple/ "virtual" directory?
sacx13
Msg#:1517117
12:28 pm on Mar 31, 2006
(gmt 0)
Yes ... but you need to manage the code for that.
Read This:
[
php.net
...]
extras
Msg#:1517118
3:21 pm on Mar 31, 2006
(gmt 0)
You can actually create that directory and password protect it.
It should work as you wanted, since auth happens before RewriteRule processing.
Join The Conversation
Register
For Free! -
Become a
Pro Member
!
See forum categories
-
Enter the Forum
Moderators and Top Contributors
Moderator List
| Top Contributors:
This Week
,
This Month
,
Aug
,
Jul
,
Archive
,
Top 100 All Time
,
Top Voted Members
Hot Threads This Week
September 2026 Google Search Observations
August 2026 Google Search Observations
AdSense Earnings and Observations - September 2026
AdSense Earnings and Observations - August 2026
25th Anniversary
Australia to let users switch off social media algorithms
Annoying Crawler, Bot, or what?
MathPicDatasetCrawler
Will Forward-confirmed reverse DNS Block Humans?
Home
Forums Index
Server Side
/
Apache Web Server
2:22 am Sep 9, 2026