|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello to all,
Does anyone know how it would be possible to redirect lwp-trivial requests to a different URL? Here is my idea that is NOT working: RewriteEngine on AuthUserFile /dev/null AuthGroupFile /dev/null AuthName hackerkill AuthType Basic RewriteCond %{REMOTE_HOST} 205.135.47.10 RewriteRule /* http://redirected.com [L,R] The above adress is a server address so I have also tried replacing REMOTE_HOST with REMOTE_SERVER but with no success. I am using this as the reference: http://www.apache.org/docs/mod/mod_...#RewriteOptions I would think this should work if I could find the correct RewriteCond because the above coding does work for visitor IP addresses. Thanks for any assistance! lisa |
|
#2
|
|||
|
|||
|
RewriteEngine on
RewriteCond %{REMOTE_ADDR} ^205.135.47.10$ RewriteRule ^. http://redirected.com [R,L] |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Redirect lwp-trivial |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|