Dave Culbertson said at 15:24 12-6-2002:

>Edit Web.xml (in the config dir) which reads presently:
>http://java.sun.com/j2ee/dtds/web-app_2_3.dtd to read
>http://java.sun.com/dtd/web-app_2_3.dtd
>
>Thanks go to Kevin Anderson for discovery of what the bug was.

The bug is with Sun.
Same shit happened, when Netscape was 'reconfiguring' it's website
(personally I think they're still at it...) and removed the whole
my_netscape stuff, including the widely referenced RSS dtd.

And all Sun needs is:
RedirectMatch Permanent /j2ee/dtds/(.*) http://java.sun.com/dtd/$1

Stupid.....

For those of you working with Sambar and who may face such a website
redesign - Sambar also supports this feature in .htaccess.

Some more practicle examples:
# Oops - high load
RedirectMatch Temp /dynamic/news.php\?id=([0-9]+)&(.*) 
http://my.website.com/static/news/$1.html?$2

# Yeah right
RedirectMatch Permanent /.*favicon.ico http://static.images.com/favicon.ico

# Suckers
RedirectMatch Temp /.*formmail.(cgi|pl).* http://www.cert.org/

End that concludes our feature of the day :-)



____________________________________________________

</MELVYN>

void wakeup()
{
         for(long int cuppajava;drink();cuppajava++);
}

-------------------------------------------------------
To unsubscribe please go to http://www.sambar.ch/list/




Reply via email to