Try RedirectMatch instead Redirect.You can find all the necesary docs here: http://httpd.apache.org/docs/1.3/mod/mod_alias.html#redirectmatch.
Bart Braem wrote:
victor wrote:Try sometring like this Redirect /index.php http://localhost:8081 I use it with virtual host. index.php is a file from the docroot of that virtual host.That seems a nice solution but how can I make it work for an unlimited number of files? Should I use regular expressions then? Thanks for your fast reply! --------------------------------------------------------------------- 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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- 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: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx