Im having problems with the Apache's red开发者_StackOverflow中文版irect.
I triying to redirect a request for a image file , I tried to use the same sintax used for pages. but it doesn't work
I'm doing this:
Redirect 301 /images/hamb.jpg http://my-website/denny.png
When I say it doesn't work is because the result is a 404 error - I tried to redirect the request because the jpg file is no longer available. Other redirects works but are page redirects. There is no error in the url.
Thanks for your help
I check the url in my production site and it was wrong. THANKS
Conclusion:
Is the same rule to redirect a file in apache
精彩评论