add html to a directory in apache redirect
I want to get below in apache redirect:
suppose a user type www.abe.com/a it should go to www.abe.com/a.html if he types www.abe.com/a/tik it should go to www.abe.com/a/tik.html pls suggest |
Hello,
Read here - http://httpd.apache.org/docs/2.0/mod/mod_alias.html This contains the documentation needed to do what you intend to do. Cheers, Josh |
@OP
It could be done using mod_rewrite: Code:
RewriteEngine On |
All times are GMT -5. The time now is 08:17 PM. |