CRGreathouse
Sep5-08, 04:01 PM
I'm running an Apache server, but I'm having trouble redirecting files. I've tried including lines like
Redirect permanent /oes.htm https://example.com/file.html
in the httpd.conf file as well as in an .htaccess file, but loading the URL in the browser I only get the original file, not the file I'm redirecting to. Neither of
Redirect /oes.htm https://example.com/file.html
Redirect 301 /oes.htm https://example.com/file.html
work (though all three should be the same, I think, unless Redirect gives a 302 instead).
I'm including alias_module already:
LoadModule alias_module modules/mod_alias.so
What am I doing wrong? Is there something else I need to configure?
Redirect permanent /oes.htm https://example.com/file.html
in the httpd.conf file as well as in an .htaccess file, but loading the URL in the browser I only get the original file, not the file I'm redirecting to. Neither of
Redirect /oes.htm https://example.com/file.html
Redirect 301 /oes.htm https://example.com/file.html
work (though all three should be the same, I think, unless Redirect gives a 302 instead).
I'm including alias_module already:
LoadModule alias_module modules/mod_alias.so
What am I doing wrong? Is there something else I need to configure?