Re: [users@httpd] Rewrite from IP:Port to specific path

2020-09-28 Thread Daniel Armando Rodriguez
El lun., 28 de sep. de 2020 a la(s) 19:11, Eric Covener (cove...@gmail.com) escribió: > On Mon, Sep 28, 2020 at 5:34 PM Daniel Armando Rodriguez > wrote: > > > > Hi, > > > > I'm dealing with a particular need about give access to requests made > from specific IP:Port to a certain URL and nothing

Re: [users@httpd] Rewrite from IP:Port to specific path

2020-09-28 Thread Eric Covener
On Mon, Sep 28, 2020 at 5:34 PM Daniel Armando Rodriguez wrote: > > Hi, > > I'm dealing with a particular need about give access to requests made from > specific IP:Port to a certain URL and nothing more. > > This is what I got so far, I'm in doubt if would work > > RewriteEngine On >

[users@httpd] Rewrite from IP:Port to specific path

2020-09-28 Thread Daniel Armando Rodriguez
Hi, I'm dealing with a particular need about give access to requests made from specific IP:Port to a certain URL and nothing more. This is what I got so far, I'm in doubt if would work RewriteEngine On RewriteCond %{REMOTE_ADDR}%{REMOTE_PORT} ^1\.2\.3\.4:8022$ RewriteRule .*