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
6:13 am May 2, 2026
This page requires javascript.
Forum Moderators:
phranque
Message Too Old, No Replies
Show a directory based on IP address
using .htacess
gosman
Msg#:4093211
11:17 am on Mar 8, 2010
(gmt 0)
Is there a way of showing a directory only to select range of IP address using .htaccess. Everyone else would get a 404?
gosman
Msg#:4093462
6:48 pm on Mar 8, 2010
(gmt 0)
Bump ;)
g1smd
Msg#:4093484
7:27 pm on Mar 8, 2010
(gmt 0)
Yes there is.
What code have you tried so far?
gosman
Msg#:4094590
11:02 am on Mar 10, 2010
(gmt 0)
Hi G1smd.
I figured it out. I used index.php in the directory to detect the ip address and and send a 404 header if it didn't match my list of IP's
Regards
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
6:13 am May 2, 2026