mod_rewrite/rewriterule - forcing a HTTP 500 code on all access attempt?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



is there a way via RewriteRule to force all access to a certain URL to return with a HTTP 500 

e.g.  i have a number 3 applications that are or will be obsoleted and is expected to return a 500 to all callers who try to access it.

so when someone tries to access a deprecated URL such as http://myserver/myApp1 ; I would like to send back a 500 and preferably some textual information (nice to have).

Will it be possible to do this via mod_rewrite?

Thanks.



      

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux