|
Apache and Lighttpd configure mod_rewrite to redirect website |
 vote
 |
|
| Here's a nice howto on using mod_rewrite under Apache and Lighttpd for temporary site outages. This tip will help you to disable a site for maintenance using mod_rewrite without redirecting url. Both Lighttpd and Apache webserver allows you to send this message to client using server side rewriting using mod_rewrite and php. This is useful if you are running popular database driven community or e-commerce website. Error 503 informs search engine that site is temporary out of service. A good idea if your websites is heavily depends upon search engine for selling products and services.
| | |
| |
|
| | read more | mail this link | score:7763 | -nixcraft, December 30, 2006 |
| |
|
More Sysadmin articles... |
|
- VPS: Xen vs. OpenVZ
- Tutorial: Install Nginx, PHP5, MySQL on OpenSUSE 11.4
- iRedMail 0.7.0 Tutorial: Postfix, Dovecot, Amavisd, ClamAV, SpamAssassin
- Install OCS Inventory NG Server 2 On CentOS 5.5
- Apple DIY Repair
- SSH Tricks
- Set up a web gui Print Server on Ubuntu with SWAT, CUPS, and SAMBA
- Tutorial: Squid proxy server with DansGuardian, ClamAV, WPAD on Ubuntu 9.04
- Download: dtrace for linux
- Simulating application disk I/O with filebench
|
|
Buy Art Online with a Money-Back Guarantee |
| admin headlines |
Tutorial: PrestaShop 1.5.x on Nginx (Debian 7/Ubuntu 12.10
Setting up NFS on Scientific Linux 6.3
nginx: Block Exploits, SQL Injections, File Injections, Spam, User Agents, Etc.
Tutorial: Install, Upgrade to latest Rsyslog on CentOS 5/6
Tutorial: Replace Windows with Xubuntu 12.04
Virtual Users, Domains with Postfix, Courier, MySQL, SquirrelMail (Ubuntu 12.04) |
|