I need to redirect from http://example.com/
to http://example.com/index.php
.
相关问题
- Backbone.js PushState routes .htaccess only workin
- Stop .htaccess redirect with query string
- .htaccess rule, redirecting old unexistent address
- How to deploy a web application Aurelia in an Apac
- Apache Directory Studio not opening
相关文章
- Apache+Tomcat+JK实现的集群,如果Apache挂了,是不是整个服务就挂了?
- How reliable is HTTP_HOST?
- Making a two way SSL authentication between apache
- UnicodeEncodeError when saving ImageField containi
- mod_rewrite only on GET
- Android set(get) environmental variables in Java
- jquery how to get the status message returned by a
- How do I debug errors that have no error message?
Try this:
Use this:
Just to add my own solution, since the answer of Michael did not work for me, I did something like:
This also preserves any possible existing query string parameters.