Sponsored Content
Full Discussion: Intranet P2P Filesharing
Top Forums UNIX for Dummies Questions & Answers Intranet P2P Filesharing Post 302233417 by GoranX on Sunday 7th of September 2008 03:17:12 PM
Old 09-07-2008
Quote:
Originally Posted by Ikon
If your talking P2P they might get some data from your PC but would then directly download/upload with each other and your PC would be out of the loop.
OK I Got it, its not p2p since i need it to pass through the load balancing router ... and i have some VM experiment that might work ... ill post a solution when i find one ... thanks for reading my post Ikon
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Remote access to Intranet

I am currently running my company's intranet on Linux Mandrake using Apache web server with the pages written in PHP. We currently have users who dial into the network who have access to the intranet, I need to find a way of stopping access to the user to certain pages when they dial in. Is there a... (1 Reply)
Discussion started by: robsebastian
1 Replies

2. UNIX for Advanced & Expert Users

Sending mail outside the intranet

hi Everybody while using the mail command , i sent a mail within the organization, it worked perfectly. Example of mail id victor@dev.unix.com But when i gave the mail command outside the intranet it failed and no responses of acknowledgement this is the example of mail id ... (8 Replies)
Discussion started by: victorvvk
8 Replies

3. AIX

intranet web site

hello I would like to create an internal web site, but how do i make it with Aix ? I must to install apache and send my http pages in the declared repertory ? There are some configuration files to modify ?? thank you (2 Replies)
Discussion started by: pascalbout
2 Replies

4. HP-UX

Intranet Server

I am planning to move an intranet server from win to unix,any tips/documentation/how guide on the subject will be greatly appreciatted. (0 Replies)
Discussion started by: Simelane
0 Replies

5. HP-UX

Intranet Server

Hi All, I am planning to move an intranet server from win to unix,any tips on how to go about doing this and also factor to consider.Any documentation will be greatly apppreciated. :confused: (1 Reply)
Discussion started by: Simelane
1 Replies

6. IP Networking

p2p

OK Guys I need help. I'm interest in P2p , can you recommend some books or sites about it thx in advance (0 Replies)
Discussion started by: aobai
0 Replies

7. IP Networking

How to add intranet sites to DNS cache?

Hi all, I'm hosting a site for my team in my LAN, for which my team mates should type my hosting server IP address in the web browser, example: http://192.168.134.213:78/testteam/ This is really hectic to type the ip address always, is there anyway where i can create a site name mapping to... (7 Replies)
Discussion started by: Arun_Linux
7 Replies

8. Solaris

Problems with filesharing between Solaris and Windows Server

Hi. I'm new here and new at using Solaris and I've been having some problems with file sharing between Windows Server 2012 and Solaris 10. I will really appreciate your help. So my Windows Server (WS) 2012 has just three activated services: DNS, DHCP and Active Directory. Solaris too three... (1 Reply)
Discussion started by: LauraKtz
1 Replies
Router::Simple::Cookbook(3pm)				User Contributed Perl Documentation			     Router::Simple::Cookbook(3pm)

NAME
Router::Simple::Cookbook - The Router::Simple Cookbook FAQ
How to create Sinatra-ish framework with Router::Simple? Please read the following example code. package MySinatraish; use Router::Simple; use Plack::Request; sub import { my $pkg = caller(0); my $router = Router::Simple->new(); my $any = sub ($$;$) { my ($pattern, $dest, $opt) = do { if (@_ == 3) { my ($methods, $pattern, $code) = @_; ($pattern, {code => $code}, +{method => [ map { uc $_ } @$methods ]}); } else { my ($pattern, $code) = @_; ($pattern, {code => $code}, +{}); } }; $router->connect( $pattern, $dest, $opt, ); }; no strict 'refs'; # any [qw/get post delete/] => '/bye' => sub { ... }; # any '/bye' => sub { ... }; *{"${pkg}::any"} = $any; *{"${pkg}::get"} = sub { $any->([qw/GET HEAD/], $_[0], $_[1]); }; *{"${pkg}::post"} = sub { $any->([qw/POST/], $_[0], $_[1]); }; *{"${pkg}::as_psgi_app"} = sub { return sub { if (my $p = $router->match($_[0])) { [200, [], [$p->{code}->()]]; } else { [404, [], ['not found']]; } } }; } package MyApp; use MySinatraish; get '/' => sub { 'top'; }; post '/new' => sub { 'posted'; }; as_psgi_app; How to switch from HTTPx::Dispatcher? HTTPx::Dispatcher is class specific declararative router. package MyApp::Dispatcher; use HTTPx::Dspatcher; connect '/', {controller => 'foo', action => 'bar'}; 1; The following script is same as above. package MyApp::Dispatcher; use Router::Simple::Declare; my $router = router { connect '/', {controller => 'foo', action => 'bar'}; }; sub match { $router->match() } How to use Router::Simple with non-strictly-MVC application? use Router::Simple::Declare; my $router = router { connect '/foo/bar/' => { 'target' => '/foobar.asp' }; connect '/topics/:topic' => { target => '/my-topic.asp' }; connect '/products/{Category:.*}' => { target => '/products.asp', Category => 'All' }; connect '/zipcode/{zip:[0-9]{5,5}}' => {target => '/zipcode.asp' }; }; You can pass the target path as destination. AUTHOR
Tokuhiro Matsuno <tokuhirom AAJKLFJEF GMAIL COM> LICENSE
Copyright (C) Tokuhiro Matsuno This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO
Router::Simple perl v5.14.2 2011-05-15 Router::Simple::Cookbook(3pm)
All times are GMT -4. The time now is 05:48 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy