View Full Version : mod_rewrite help
dbodami1
02-08-2005, 10:39 PM
I'm try to rewrite the following url's using mod_rewrite on apache2.052 linux redhat ES3
when users go to https://mywebsite.com/~username
redirect to https://mywebsite.com/username/public_html/index.html
any help would be greatly appreciated
Thanks
Digitalman
02-24-2005, 06:47 AM
The Apache module mod_rewrite is a killer one, i.e. it is a really sophisticated module which provides a powerful way to do URL manipulations. With it you can do nearly all types of URL manipulations you ever dreamed about. The price you have to pay is to accept complexity, because mod_rewrite's major drawback is that it is not easy to understand and use for the beginner. And even Apache experts sometimes discover new aspects where mod_rewrite can help.
In other words: With mod_rewrite you either shoot yourself in the foot the first time and never use it again or love it for the rest of your life because of its power. This paper tries to give you a few initial success events to avoid the first case by presenting already invented solutions to you.
If you want to learn more about mod_rewrite read this guide it's a very good one: http://httpd.apache.org/docs-2.0/misc/rewriteguide.html
vBulletin® v3.6.8, Copyright ©2000-2010, Jelsoft Enterprises Ltd.