Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
CGI htaccess File?
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- CGI htaccess File?
CGI htaccess File?
14-03-2008 11:32 AM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Hi, I want to block all ip ranges except for one, how do I do this and where in my cgi space (which folder) would I need to place the file (I want to block access to all of it)
I have tries with a script I use on another cgi server but it didn't work on Plusnets
TIA
I have tries with a script I use on another cgi server but it didn't work on Plusnets
TIA
Message 1 of 4
(1,128 Views)
3 REPLIES 3
Re: CGI htaccess File?
14-03-2008 3:50 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
You should be able place a .htaccess in the root folder of your cgi space, have a look here if your current one doesn't work.
Former Plusnet Staff member. Posts after 31st Jan 2020 are not on behalf of Plusnet.
Message 2 of 4
(314 Views)
Re: CGI htaccess File?
14-03-2008 5:20 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Blocking of IPs via htaccess has never worked as far as I remember and several people have tried in the past. It certainly won't block access to php files.
Message 3 of 4
(314 Views)
Re: CGI htaccess File?
14-03-2008 5:24 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Thanks for the advice, I'll give it a try later as I cant get on from work. I was trying....
AuthName "Locked"
AuthType Basic
<Limit GET POST>
order deny,allow
deny from all
allow from XXX.XXX.XXX.XXX
</Limit>
AuthName "Locked"
AuthType Basic
<Limit GET POST>
order deny,allow
deny from all
allow from XXX.XXX.XXX.XXX
</Limit>
Message 4 of 4
(314 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page