Results 1 to 1 of 1

allowing hostname problem

This is a discussion on allowing hostname problem within the General Discussion forums, part of the vBSEO SEO Plugin category; Hi, I've got my admincp previously locked via a static ip address. I've since moved and now sadly use a ...

  1. #1
    Senior Member MentaL's Avatar
    Real Name
    MentaL
    Join Date
    Oct 2005
    Location
    Wales
    Posts
    427
    Liked
    8 times

    allowing hostname problem

    Hi,

    I've got my admincp previously locked via a static ip address. I've since moved and now sadly use a dynamic ip address. I've setup a dynanic dns for it to be linked too but because the server does a lookup on the ip i'm sending from it shows my isp hostname rather than the one already set from dyndns.

    Current code
    Code:
    Options +FollowSymLinks
    RewriteEngine on
    
    #Administrator IP / Hostname ONLY
    #RewriteCond %{REMOTE_ADDR} !^xx.xx\.xx\.xx$
    #RewriteCond %{REMOTE_HOST} !^*\.bb\.broadband\.com
    #RewriteCond %{REMOTE_HOST} !^*\.mental\.hostname\.net
    RewriteRule .* http://forum.xxx.com/ [R=302,L]
    
    AuthUserFile "/home/xxx/.htpasswds/public_html/forum/xxx/passwd"
    AuthType Basic
    AuthName "Special Persons's ONLY"
    require valid-user
    If I allow mental.hostname then it will not work given a traceroute would give my isp provided hostname but if I allow my actual broadband providers hostname it works (obviously). Anyway in which to go around this to only allow the mental.hostname address? Maybe a reverse lookup of some sort.

    Thanks.
    Last edited by MentaL; 01-14-2012 at 10:15 AM.

Similar Threads

  1. Replies: 1
    Last Post: 11-03-2008, 08:49 PM
  2. Allowing for .com and .net?
    By ludachris in forum General Discussion
    Replies: 16
    Last Post: 05-02-2008, 09:32 AM
  3. Allowing guests to view threads
    By Yours Truly in forum General Discussion
    Replies: 2
    Last Post: 02-28-2008, 12:43 PM
  4. Site not allowing new members
    By wcsjmk in forum Troubleshooting
    Replies: 2
    Last Post: 11-07-2007, 06:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •