Joseph wrote:
How to restrict outsider to use "wget" on my web-page?

Wget by default sends a User-Agent string of "Wget/<version>" so you could, for example, configure Apache to send a "HTTP/1.1 404 Not Found" error (or something else) for a specific page if the user agent is Wget.

Or you could alternatively put a file called "robots.txt" in your document root
containing something such as the following:

User-agent: Wget
Disallow: /

Wget (as far as I know) is very well-behaved in that it will follow any
restirctions imposed by a webserver's robots.txt file.

Hope that helps!

--
()  The ASCII Ribbon Campaign - against HTML Email,
/\  vCards, and proprietary formats.
---------------------------------------------------
Peter A. Gordon (codergeek42)
E-Mail: [EMAIL PROTECTED]
GPG Public Key ID: 0x109DBECE
GPG Key Fingerprint (SHA1):
  E485 E2F7 11CE F9B2 E3D9 C95D 208F B732 109D BECE
Encrypted and/or Signed correspondence preffered.
GPG Public Key available upon request or from
  pgp.mit.edu's public key server.
---------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to