apache/html: Selection on ip-number

apache/html: Selection on ip-number

Post by Bernhard Dobbel » Sat, 20 Feb 1999 04:00:00



Hi,

I want to do following:
directory struct:
        /home/httpd/index.html -> just image to click on
        /home/httpd/intern/index.html   -> only ip 10.*.*.*
        /home/httpd/extern/index.html   -> only ip not 10.*.*.*

so, i want to redirect to a certain directory  based on ip-number of the
requester.
I wnat to do this without the requester notices.
How can this be done?

--
Bernhard Dobbels        Student Electronic Engineer
                        option Automation and Computersystems.


ICQ: 25783372

 
 
 

apache/html: Selection on ip-number

Post by The Pilgri » Sat, 20 Feb 1999 04:00:00



> Hi,

> I want to do following:
> directory struct:
>         /home/httpd/index.html -> just image to click on
>         /home/httpd/intern/index.html   -> only ip 10.*.*.*
>         /home/httpd/extern/index.html   -> only ip not 10.*.*.*

> so, i want to redirect to a certain directory  based on ip-number of the
> requester.
> I wnat to do this without the requester notices.
> How can this be done?

> --
> Bernhard Dobbels        Student Electronic Engineer
>                         option Automation and Computersystems.


> ICQ: 25783372

Looks like a job for mod rewrite
--
The Pilgrim

The truth is out there, and that's what scares the Government

 
 
 

1. Apache/html question -> selection(redirection) on ip number

Hi,

I want to do following:
directory struct:
        /home/httpd/index.html -> just image to click on
        /home/httpd/intern/index.html   -> only ip 10.*.*.*
        /home/httpd/extern/index.html   -> only ip not 10.*.*.*

so, i want to redirect to a certain directory  based on ip-number of the
requester.
I wnat to do this without the requester notices.
How can this be done?

--
Bernhard Dobbels        Student Electronic Engineer
                        option Automation and Computersystems.


ICQ: 25783372

2. Redundant NIC config, need help

3. Apache: IP based content selection / serving

4. I can't get my printer to work.

5. IP without own IP-Number

6. protecting /etc/passwd

7. html, http, no-ip, apache?

8. redhat 7.0 nic problems

9. Apache on Linux: "localhost" serves up OK, but not the IP address/index.html

10. IP numbers vs. hostnames in access.conf in apache 1.3.3.

11. Apache-Don't Log IP number

12. apache 1.2.7: problem with hosts with bad ip number

13. HP-UX 10.20 port number selection algorithm.