[vox-tech] moving an url gracefully

Bill Kendrick nbs at sonic.net
Wed Dec 14 11:06:41 PST 2005


On Wed, Dec 14, 2005 at 01:52:20PM -0500, Aaron A. King wrote:
> Forgive my ignorance, but is this something that must be done by
> reconfiguring the server?

Remember that Apache can be set up (and usually is) to allow per-directory
reconfiguration via .htaccess files.

So, instead of having to get root permission, or do a sudo, and edit
/etc/apache/httpd.conf and creating a "<Directory>" section for your
redirect, rule rewrite, alias, authentication, etc., you simply
drop the config options you want into an ".htaccess" file in the dir.

(This is MOST often done[*] for setting up .htaccess/.htpasswd authentication
to password-protect a particular directory heirarchy on the website.)

[*] Or at least explained zillions of times on countless
    "How to make HMTL website on teh intarweb" howto webpages. :^)

-- 
-bill!
bill at newbreedsoftware.com
http://www.newbreedsoftware.com/


More information about the vox-tech mailing list