I'm using one of my subdomains to host scripts which are supposed to be fetched 
with wget. Because I publish those in fora it attracted several search-engines 
and some people just want to browse them using firefox or some other browser....
I was getting a bit annoyed by all these logentries, so I decided to add an 
extra Headrequire to that service entry and it now looks like this:

  HeadRequire "^Host:[\t ].*wd\.mydomain\.com$"
  HeadRequire "[Ww]get"

This works!
This means everything else will go to another server which is configured for 
that domain too. The problem now is these clients ask for a specific file which 
is not on that server.
Is it possible to define a 2nd entry for that domain without the 
Wget-requirement and do a URLrewrite and ask for /index.html whichever file 
they ask?

I can then send them to a page which says:  "Browsers are not Supported"
It can then be handled by the same http-server...

JP



--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.

Reply via email to