Help with Apache Rewrite Engine

Posted by Marc B.



Due date
Tuesday, 5th Mar 2013
Hello Airtaskers,

I need someone who knows regex and apache rewrite's like the back of their hand. If you have experience and understand regular expression then please bid on the task. It's really simple and only involves you talking with me over email to make a few tweaks to a .htaccess file.

Seb T.
No Completion rate

The percentage of accepted tasks this Tasker has completed.

Task Activity
4 comments about this Task
Comments are now closed
Marc B.poster
@Sebastien really sorry I didn't get back to this task it slipped my mind, I managed to spend a few hours on the apache IRC channel talking to someone there and finally got it working. Thanks though!!
ok, so you're trying to redirect to /customers? try

# do not redirect to /www
RewriteCond %{HTTP_HOST} !^ [NC]

# redirect to subfolder w 301 http code
RewriteRule ^ http:// /%1% [L,R=301]

use pastebin to show me what you've got, pm me or skype or mob might be quicker too.. ;)

Marc B.poster
I'm trying to map a subdomain but existing regex in the .htaccess keeps screwing it up. Instead of it going to it goes to
Marc - what are you trying to match with regexp?
0 new tasks