Recent Posts

Pages: [1] 2 3 ... 10
1
Hi all,

We have a backend-node which needs to be accessed with certain credentials.

The credentials ( UID+PSW ) is not secret - so I was thinking in just adding them to the url passed to the pool node.

Something along the lines of ...


...
$newurl ( 'userid:password' && $url );
http.redirect $newurl

'ish

Is that the way to go, or are there other options ?

If the above is the way to go, how would you avoid looping ( split the rule to run on another VS / DNS than the actual pool node ? ) ?

Is the above at least comprehensible :-) ?!?

Brgds.
Jugger
2
Zeus Traffic Manager / Re: HTTPS permanent redirect through ZXTM Loadbalancer
« Last post by Jugger on June 18, 2013, 01:38:02 pm »
Hello,

Something like this :

*****
 $host=http.getHostHeader();
http.changeSite( "https://".$host );
*****

Or am I missing something ?

Brgds.
Jugger
3
General Discussion / Houston electrical contractors
« Last post by foest475 on June 11, 2013, 08:49:02 pm »
Houston electrical contractors

With our years of experience Cacontractor electric of Houston we have learn what is the right material for specific installation, that experience translate into long term saving for our customers, helping them making the right purchasing decision.

For more information, please visit here: http://houstonelectricalcontractors.us
4
Zeus Traffic Manager / HTTPS permanent redirect through ZXTM Loadbalancer
« Last post by ndhaundiyal on May 24, 2013, 02:22:42 pm »
Hi, I want to permanently redirect my site www.domain.com to https://www.domain.com. My site is running in zeus webserver. I have an ssl certificate installed for the same in ZXTM. What rule should I create through the web interface in ZXTM to accomplish the same?
5
Zeus Traffic Manager / Re: Redirect using TrafficScript - Semi Advanced
« Last post by Jugger on May 21, 2013, 09:56:51 am »
As the developers wanted a new redirect for the head every morning :-) ... We opted for a more general approach.

Then the developers can do what ever they want.

Here is our script, perhaps someone can find the logic usefull.

*****
$remoteip = request.getremoteip();

if( string.ipmaskmatch( $remoteip, "172.16.0.0/24" ) == 0
   && string.ipmaskmatch( $remoteip, "172.24.0.0/16" ) == 0
   && string.ipmaskmatch( $remoteip, "172.25.0.0/16" ) == 0
   && string.ipmaskmatch( $remoteip, "192.168.3.0/24" ) == 0
   && string.ipmaskmatch( $remoteip, "192.168.1.0/24" ) == 0 ) {
     
   http.addheader("X-LOCATION", "EXTERNAL");

}

else http.addheader("X-LOCATION", "INTERNAL");
​*****

Brgds.
Jugger
6
Zeus Web Server / Restricting Access did not work
« Last post by perlish on May 07, 2013, 12:56:50 am »
I want to deny access to wp.net/wp-admin/
I want to restict /wp-admin/index.php but it seems match /index.php,how can I fix it ?
Thank you !

[07/May/2013:07:49:56 +0800] INFO:wp.net:access:trace:rule 0 = url={/wp-admin/index.php} type={deny} hosts={*} methods={get,post,put,} ips={*} users={*} groups={*}

[07/May/2013:07:53:32 +0800] INFO:baoz.net:access:trace:Attempting to validate user {}
[07/May/2013:07:53:32 +0800] INFO:baoz.net:access:trace:User validation failed, user set to ""
[07/May/2013:07:53:32 +0800] INFO:baoz.net:access:trace:Checking rule 0, current status is allow
[07/May/2013:07:53:32 +0800] INFO:baoz.net:access:trace:Rule skipped, url {/wp-admin/index.php} doesn't match rule url {/index.php}
[07/May/2013:07:53:32 +0800] INFO:baoz.net:access:trace:Access allowed
7
Zeus Traffic Manager / Remote syslog: how to change "zeus:" to a hostname?
« Last post by columb on May 01, 2013, 02:08:59 pm »
Hi,

I'm trying to send access logs to the remote syslog server. All is fine and working well but one thing:

messages I'm getting are:

zeus: 86.XX.XX.XX - - [01/May/2013:14:05:55 +0100] "GET /javascript/2012/somejs.js HTTP/1.1" 200 1099 "https://website.com/whatever.action" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDS; Tablet PC 2.0)"

What I want (well, need!):

$HOSTNAME: 86.XX.XX.XX - - [01/May/2013:14:05:55 +0100] "GET /javascript/2012/somejs.js HTTP/1.1" 200 1099 "https://website.com/whatever.action" "Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDS; Tablet PC 2.0)"

Is that possible? Google search was really not helpful...

Thanks
Chris
8
Zeus Traffic Manager / Re: multiple network adapters same network
« Last post by akfoote on April 30, 2013, 07:43:17 pm »
Quote
Odd routing will result, and outbound packets in the connection may use a different interface to the one the connection was received on.

In the end I decided against this. Our netops crew pointed out the errors in my thinking.  :)
Thanks Owen .. you said exactly what they did. Nice to have confirmation from tech though. 

thanks
kevin
9
Zeus Traffic Manager / Re: Redirect using TrafficScript - Semi Advanced
« Last post by Jugger on April 30, 2013, 02:00:41 pm »
Don't bother .... I set a http header for the developers instead ( X-LOCATION = 'INTERNAL'/'EXTERNAL'.

So the developers can redirect and deny on the IIS site instead ...

Brgds.
Jugger
10
Zeus Traffic Manager / Re: Redirect using TrafficScript - Semi Advanced
« Last post by Jugger on April 30, 2013, 01:17:38 pm »
Not 100% just yet - have narrowed it down to :

*****
#part of condition
&& string.startswith( $path, "/hop/?key=" )
   && string.contains( http.getheader( "host" ), "checkin.l2013.dk" ) ) {

#action   
   $newurl = string.regexsub( $url, "^/hop/?key=", "/hop/oversigt.aspx?key=" );
   http.redirect( $newurl );
*****
Do you see any caveats here - in order for the URL to be rewritten / redirected from site.domain.tld:/hop/?key=12345678 -> site.domain.tld:/oversigt.aspx?12345678

Brgds.
Bjarke


Pages: [1] 2 3 ... 10