Forum Moderators: phranque

Message Too Old, No Replies

redirection based on subnet

redirecting the user

         

chrisguk

9:20 am on Sep 1, 2014 (gmt 0)

10+ Year Member



I have an intranet site that I want to make public. Firstly I was thinking that authentication for login could be .htaccess. In your opinion is this the most secure or are there other solutions out there that could take care of this job for me. Important to note that the webserver is running a joomla app.

Also in my .htaccess file I wanted to apply some logic like below:

If user IP originates from 10.10.1.0/24 then go direct to intranet home page. Anything else goto login

Many thanks in advance

lucy24

3:44 pm on Sep 1, 2014 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



If user IP originates from 10.10.1.0/24 then go direct to intranet home page.

Are you looking at a "Satisfy any" directive? What Apache version are you on?

It isn't clear whether joomla is happening on the site you're asking about, or elsewhere on the same server.