Re: OT: Apache's mod_rewrite
This WebDNA talk-list message is from 2005
It keeps the original formatting.
numero = 60676
interpreted = N
texte = RewriteRule !^/error\.html$ http://www.domain.com/error.html [R]Should work. Let me know if any trouble with it.Bill-----Original Message-----From: Clint Davis
Sent: Wed, 05 Jan 2005 15:52:17 -0600To: "WebDNA Talk" Subject: OT: Apache's mod_rewriteWith Apache 2.0.x, I want to direct any request to a domain to error.html.If someone tries to access domain.com/test.html ordomain.com/nothing/nowhere.php or domain.com/mypic.jpg, I want them ALL sentto error.html at the root of the vhost.-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
Associated Messages, from the most recent to the oldest:
RewriteRule !^/error\.html$ http://www.domain.com/error.html [R]Should work. Let me know if any trouble with it.Bill-----Original Message-----From: Clint Davis Sent: Wed, 05 Jan 2005 15:52:17 -0600To: "WebDNA Talk" Subject: OT: Apache's mod_rewriteWith Apache 2.0.x, I want to direct any request to a domain to error.html.If someone tries to access domain.com/test.html ordomain.com/nothing/nowhere.php or domain.com/mypic.jpg, I want them ALL sentto error.html at the root of the vhost.-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/-------------------------------------------------------------This message is sent to you because you are subscribed to the mailing list .To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/
devaulw@onebox.com
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
List Address Changed! (1998)
Summing fields (1997)
Limiting user access to .tmpl files (1997)
Exists? (1997)
Word search (1997)
replace using &append=T (2007)
page redirect in webDNA (1997)
Setting up shop (1997)
Re:Copyright ? (1997)
Another [redirect] question (2003)
Sort Order on a page search (1997)
Nested tags count question (1997)
[SearchString] problem with [search] context (1997)
WC2b15 File Corruption (1997)
Serving images from databases (1998)
RE:It just Does't add up!!! (1997)
Multiple prices (1997)
docs for WebCatalog2 (1997)
Projects & Contractors (1997)
WebCatalog 3.0.8 is on FTP... (2000)