linux - Write Apache Redirect Rule? -


how write apache redirect rule in apache

http://www.example.com/8484/sdsdsd or http://www.example.com/8484/test

should redirect www.example.com

like this:

rewriteengine on rewriterule ^/8484/(.*)$ http://www.example.com [r,l] 

the rewriteengine on needed once per virtualhost in order activate redirections


Comments

Popular posts from this blog

Combining PHP Registration and Login into one class with multiple functions in one PHP file -

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -