g1smd - 4:41 pm on Dec 16, 2010 (gmt 0) [edited by: g1smd at 5:18 pm (utc) on Dec 16, 2010]
You want it so that if user requests 188.8.131.52/folder1/<somepage> they are redirected to www.example.com/<somepage> ?
This code will work only if placed in the root .htaccess at 184.108.40.206/.htaccess file.
For use in the server configuration file, you will need a leading slash on the start of the RewriteRule pattern.
If the code is going in the .htaccess file inside folder1, folder1 should not appear in the RewriteRule pattern as it is stripped from the request before mod_rewrite is invoked.
[edited by: g1smd at 5:18 pm (utc) on Dec 16, 2010]