Rewrite from IP:Port to specific path

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

 



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 .* /aplicacion.php?a=12.34&b=modulo||110000003 [R=302,L]

[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