Re: [users@httpd] Re: Redirecting urls to a server on a different port

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux