Thanks, at least I have more info about the problem...
How can I detect this using any LWP module???
Nothing I did seemes to work and give the below info back.
Thanks,
Baris.
*********** REPLY SEPARATOR ***********
On 23.02.2000 at 13:42 Derek J. Balling wrote:
>That's not a valid URL, for the directory:
>
>$ telnet www.salon.com 80
>Trying 208.178.101.40...
>Connected to www.salon.com.
>Escape character is '^]'.
>GET /media HTTP/1.0
>
>HTTP/1.1 301 Moved Permanently
>Date: Wed, 23 Feb 2000 21:39:49 GMT
>Server: Apache/1.3.9 (Unix) PHP/3.0.12 mod_oas/4.63b
>Location: http://www.salon.com/media/
>Connection: close
>Content-Type: text/html
>
>At which point the trailing slash will (probably) let the URI module
figure
>out that the base is /media/....
>
>D
>
>At 12:05 PM 2/23/00 -0800, Baris Sumengen wrote:
>>Hello,
>>Here is my problem:
>>
>>I want to follow links only from a domain and only under a specific
>>directory.
>>So if the input url is:
>>http://www.salon.com/media
>>
>>How can I understand that "media" is a directory but not a file?
>>If I use URI module to get the base using this url, it outputs
>>http://www.salon.com/ !!!
>>
>>Thanks
>>Baris.
>>
>>
>>
>>
>>
>>________________________________________________________
>> 1stUp.com - Free the Web�
>> Get your free Internet access at http://www.1stUp.com
>
>
>-----------------------------------------------------------------------
>Derek Balling 408-530-5062
>Technical Yahoo Do You Yahoo!?
________________________________________________________
1stUp.com - Free the Web�
Get your free Internet access at http://www.1stUp.com