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
9:02 am May 2, 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
,
Apr
,
Mar
,
Archive
,
Top 100 All Time
,
Top Voted Members
Hot Threads This Week
April 2026 Google Search Observations
AdSense Earnings and Observations - April 2026
what do they want?
Hello again, it's been a while
I need some SEO help
SEO question
Do you get tired of others copying your content?
5 SEO Tips That Actually Worked for My Blog in 2026
Home
Forums Index
Server Side
/
Apache Web Server
9:02 am May 2, 2026