Results 1 to 9 of 9

Thread: .htaccess

  1. #1
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    .htaccess

    Desperately pawing through some old books. I have a particular url based in the Phillipines sending me nonsense through my site. Phillipine IP addresses are not available via DNS look up tools. Is there a way I can use a .htaccess using just the URL and not the IP?

    I have anothe cunning plan which I am going to put in web design and coding as it is script specific
    Jerry

  2. #2
    Platinum Lounger
    Join Date
    Jan 2001
    Location
    Quedgeley, Gloucester, England
    Posts
    5,333
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: .htaccess

    Probably a silly question, but can't you PING the URL to give the IP address?

    John
    <font face="Script MT Bold"><font color=blue><big><big>John</big></big></font color=blue></font face=script>

    Ita, esto, quidcumque...

  3. #3
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: .htaccess

    Tried that and tracert and it comes back as

    ping - Ping request could not find host

    and

    tracert - Unable to resolve tartget system name <img src=/S/sad.gif border=0 alt=sad width=15 height=15>
    Jerry

  4. #4
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: .htaccess

    <P ID="edit" class=small>(Edited by jscher2000 on 15-Dec-06 18:44. )</P>There must a global reverse DNS resolver. I know you can check Asian IP addresses interactively here: http://www.apnic.net/.

    Does this page describing a command line syntax help? APNIC Whois Database query options Perhaps it is designed for a Unix/Linux host's whois command; not sure what you have available on your web server.

    Added: Maybe you are looking for something different, a host name corresponding to the IP address. Although required, you can't always get them. For example, www.via.com.tw (VIA Technologies) resolves to 218.32.192.112; if you look for a PTR record for 218.32.192.112 it will tell you it doesn't know what host is on that address. And this is a reputable company. And if you run that address through APNIC, it only knows about the web host. So... I'm not sure this IP lookup is going to lead to any useful information. <img src=/S/sad.gif border=0 alt=sad width=15 height=15>

  5. #5
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: .htaccess

    <P ID="edit" class=small>(Edited by Jezza on 16-Dec-06 12:04. as percent signs were causing an error in the Lounge)</P>Hi Jeff

    Thanks for the link I get
    [whois.apnic.net node-2]
    Whois data copyright terms
    ERROR:101: no entries found

    No entries found in the selected source(s).
    Jerry

  6. #6
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: .htaccess

    Perhaps the address isn't in the APNIC delegation... try the North American site and see if it is North American or lists another delegation: http://www.arin.net/index.shtml

  7. #7
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: .htaccess

    Hi Jeff

    I have done an internet serach for the particular domain and it appears to be an open proxy that spammers use and I have found a range of ip addresses. If I enter any specific IP it is not listed in the APNIC database <img src=/S/sad.gif border=0 alt=sad width=15 height=15>
    Jerry

  8. #8
    5 Star Lounger
    Join Date
    Nov 2004
    Location
    Wilmington, North Carolina, USA
    Posts
    1,196
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: .htaccess

    Jerry,

    What's the url?
    ____________________________
    Jeremy
    "If you spend more on coffee than on IT security, then you will be hacked. What&#39;s more, you deserve to be hacked." -Richard Clarke

  9. #9
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: .htaccess

    Thanks Jeremy

    A friend was able to find the IP address for me. I would rather not say it in open but can PM it for you
    Jerry

Posting Permissions

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