[EMAIL PROTECTED] Apache redirect, how?

2006-11-07 Thread Arnau

Hi all!

  I've got apache2 running on debian with several virtual hosts.

  Now I need to redirect:

http://www.foo.com - http://www.bar.com

  but

http://www.foo.com/test doesn't have to be redirected.

  I have tried to include the directive Redirect / http://www.bar.com; 
where the virtual host www.foo.com is defined but apache redirects also 
http://www.foo.com/test to www.bar.com.


  Anybody knows how I can do this? for the time being I have created a 
index.php that does this redirection.


Cheers!
--
Arnau

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] How to avoid the duplication of file?

2006-04-25 Thread Arnau

Hi all,

  I have 10 different sites written in php running on linux, each of 
them is quite big (some of them with more than 1000 scripts). Theses 
sites share the most part of the scripts, I'd say that more of the 95% 
of the code is shared among all of them. The problem I have is when I 
upload a new version of some file, I have to update all the 10 sites. 
I'd like to have the files in just one place and then create links, so 
it'd be necessary just to update the files in one place. I was thinking 
in creating hard links but you can't create them on directories, and 
create a symbolic link for each file is a pain. What you'd recommend me? 
I think a lot of people already has had this problem.


Cheers!
--
Arnau

-
The official User-To-User support forum of the Apache HTTP Server Project.
See URL:http://httpd.apache.org/userslist.html for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
 from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]