httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darryl Cook <...@cs.appstate.edu>
Subject Re: [users@httpd] different home pages
Date Thu, 19 Feb 2004 16:26:39 GMT
yes...my bad, I misunderstood the question.

Joshua Slive wrote:

>On Thu, 19 Feb 2004, Darryl Cook wrote:
>
>  
>
>>sure....look at virtual hosts.
>>    
>>
>
>  
>
>>Robert Morse wrote:
>>    
>>
>>>I was asked to set up our web server so that people accessing the
>>>home page from the inside will get one page, and people accessing
>>>the home page from outside will get a different page. Has anbody
>>>done this before? Or knows how to do this?
>>>      
>>>
>
>I don't think that's what he meant.  He wants users to see a different
>site based on THEIR address, not the server's address.
>
>One way to do this is with mod_rewrite, as in
>
>RewriteEngine On
>RewriteCond %{REMOTE_IP} some-regex
>RewriteRule .* /some/place
>
>Joshua.
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>   "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>  
>

Mime
View raw message