[users@httpd] Restrict Access to a set of IP in a specific URL

2014-01-18 Thread Dev Raj
Hi, I have Apache 2.2 installed on my Unix Server and have a couple of Application servers running each of them having similar Document Root. For example, The URLS will look like below https://my-test1.com/demo/index.html https://my-prod1.com/demo/index.html https://my-qa1.com/demo/index.html

Re: [users@httpd] Restrict Access to a set of IP in a specific URL

2014-01-18 Thread Jeff Dyke
Remember that IPs are easily spoofed. but we all do it, and the access restrictions are so much cleaner, as well as other things in apache2.4, so if you can i'd upgrade. You're obviously building these as VHosts, so they can go int the virutual host container, but you want this page:

[users@httpd] How To Compile Apache for Windows?

2014-01-18 Thread Varuna Seneviratna
can Somebody please described in a simple easy to understand way what is described here Compiling Apache for Microsoft Windowshttp://httpd.apache.org/docs/2.4/platform/win_compiling.html

Re: [users@httpd] Restrict Access to a set of IP in a specific URL

2014-01-18 Thread John List
On 01/18/2014 06:45 PM, Jeff Dyke wrote: Remember that IPs are easily spoofed. (IP addresses can be spoofed, but that's not a security problem in a web context since any response from the web server will be directed to the spoofed IP address, not the one that spoofed it.) but we all do it,

Re: [users@httpd] Restrict Access to a set of IP in a specific URL

2014-01-18 Thread John List
On 01/18/2014 09:59 PM, John List wrote: On 01/18/2014 06:45 PM, Jeff Dyke wrote: Remember that IPs are easily spoofed. Actually, since HTTP is based on a TCP connection, I don't know that you can say that IP addresses can be spoofed in the web context. (IP addresses can be spoofed, but

Re: [users@httpd] Restrict Access to a set of IP in a specific URL

2014-01-18 Thread Dev Raj
Thanks everyone for getting back on this one, If I have to do this in as per Jeff, which file should I be changing? Each vhost can do this in a separate Directory /myapp/my-test1/demo/ block but does not seem useful . I would keep this out of Tomcat, but thats just me. I also read that, we can

[users@httpd] mod_rewrite url has pound (#) symbol

2014-01-18 Thread Ayub Khan
My url has # in the url. Could some one suggest how to use this to redirect. I do not have control over how the url is being generated as its a software product. The below rule does not seem to work. RewriteRule^(/share/page/repository#)$ /share/page/context/mine/myfiles [B,R] I tried to