Wednesday, October 24, 2012

disabling a single page in apache

I wanted to disable a html page which had a lot of graphics on it when we were doing live video streaming from the same box. Did it by editing /etc/apache2/sites-available/default

Added a line
RedirectMatch path/to/the/file.html http://radiosai.org/tempUnavailable.html
and restarted Apache.
/etc/init.d/apache2 restart

No comments:

Post a Comment