Lars Tode wrote:
Hello list.I want to configure the interchange catalog to handle different domains. For examplpe we have the domains :www.example.com www.example.net www.example.jp www.example.fr www.example.de Normaly you write something like this in your variable.txt SERVER_NAME www.example.com The idea is to write the config, that the catalog can handle all domains. May be a UserTag can be the solution ? Something like this : --snip-- UserTag server_name Routine <<EOF my $server_name = $Tag->env( { arg => 'SERVER_NAME' } ); # here some security stuff ... return $server_name; EOF --snap-- Thanks in advanced, Lars _______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
how about in your interchange.cfg: -- Catalog example /path/to/example www.example.com www.example.net -- and use [env HTTP_HOST] in your pages? _______________________________________________ interchange-users mailing list suppressed http://www.icdevgroup.org/mailman/listinfo/interchange-users
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.