On Thu, Jul 17, 2008 at 3:48 PM, Ian Skinner <[EMAIL PROTECTED]> wrote:
>
> We need to create a couple of redirect directives for some moved content
> on our websites.  Do we have to create an .htaccess file for the
> directory as all the documentation I have read alludes to or can we just
> put the "redirect 301 /old/path/ /new/path" in the appropriate section
> of the httpd.conf file?

You can put it in the httpd.conf file, but realize that you need to
force-reload apache everytime you make a change to the directive.
Also, note the format:

 Redirect [status] URL-path URL

So:

Redirect 301 /my/old/location http://domain.com/my/new/location

Enjoy!
speeves

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:309259
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to