Apache Server configuration support - Redirect all except...

This is Interesting: Free IT Magazines  
Home > Archive > Apache Server configuration support > November 2007 > Redirect all except...





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Redirect all except...
Luigi

2007-11-15, 7:42 am

Hello!

I have a site (e.g. http:// www.mysite.com/~luigi) I have redirected
to another host (e.g. http://www.anotherhost.com/luigi) using
this .htaccess:

Redirect 301 /~luigi http:// www.anotherhost.com/luigi

It works pretty well, but now I have a problem. The second host
doesn't support php and I have some stuff in a sub-directory, that
uses PHP! Gosh!

What I would like to do now, is to redirect all as described above,
except the content of http:// www.mysite.com/~luigi/myphpstuff

Do you have any idea on how to do it?

Thanks.

Luigi
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com