DaveTomneyUK Posted May 29, 2007 Share Posted May 29, 2007 Hi, I am trying to redirect someone when they type in the following but no idea how to do it using the mod_rewrite way using .htaccess When they type in this I want them to be rediected here. Type : http://mysite.com/mail/ Goto ===>> http://mysite.com/cgi-bin/qmailadmin/ Type : http://mysite.com/webmail/ Goto ===>> http://mysite.com/horde3/ Link to comment https://forums.phpfreaks.com/topic/53464-mod_rewrite-question/ Share on other sites More sharing options...
steviewdr Posted May 30, 2007 Share Posted May 30, 2007 You dont need to use mod_rewrite. A simple redirect will suffice from the sounds of what you outline. Simply put the following into a htaccess file in http://mysite.com/mail/ Redirect 301 /mail http://mysite.com/cgi-bin/qmailadmin -steve Link to comment https://forums.phpfreaks.com/topic/53464-mod_rewrite-question/#findComment-264849 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.