httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From victor <vic...@ambra.ro>
Subject Re: [users@httpd] Re: Redirecting urls to a server on a different port
Date Sun, 05 Mar 2006 12:46:16 GMT
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@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
>  
>


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message