Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How do I a "If then else" in the apache config

0 views
Skip to first unread message

John Clegg

unread,
Oct 29, 2009, 6:29:48 PM10/29/09
to
Hi

I'm trying to figure out how to the figure out to direct users of
different to version of the same page. ie.
Users from an external network to can see one page and internal
network users can see another version of the page.

Sort of like an IF THEN ELSE statement eg.
If the user is from the internal network show pageA, else show pageB.

Can you do this via the Apache config ?

I've looked at SetEnvIf docs and can't seem to find anything similar

Cheers

John

0 new messages