Sponsored Content
Top Forums UNIX for Dummies Questions & Answers telnet from Solaris to Solaris and telnet from PC to Solaris Post 5150 by jennifer on Wednesday 8th of August 2001 06:36:03 AM
Old 08-08-2001
Tools

ALRIGHT IT WORKS!! HURAAYSmilie
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Telnet into Solaris 8

How can I set my Solaris 8 machine to allow a telnet session from an IP address that is outside the network that the machine sits on? I can ping the address of the Soalris 8 box from the outside, but I cannot telnet into it, it doesn't allow the connection. (1 Reply)
Discussion started by: Ask Me
1 Replies

2. UNIX for Advanced & Expert Users

Telnet Problem with Solaris (SunOS 5.7)

Hi, I have been facing a telnet problem with our SunOS 5.7 box. Initially we were facing porblems in login both from the console as well as through telnet. The machine was hard-booted after which login from console is possible, but telnet connection is not. The error that is displayed is... (1 Reply)
Discussion started by: manoj_gopal
1 Replies

3. UNIX for Dummies Questions & Answers

Telnet into Solaris 8 box

I am new to Unix. What file do I need to edit so that I can telnet to Solaris 8. I recieve this message everytime I try to telnet. It allows me to LOGIN but kicks me out with this same message. SunOS 5.8 login: root Password: Not on system console (2 Replies)
Discussion started by: newbie05
2 Replies

4. Solaris

disable telnet on Solaris

All - would you please some one help me to disable telnet on Solaris? /etc/inetd.conf Thanks :confused: (11 Replies)
Discussion started by: March_2007
11 Replies

5. Solaris

HP-UX telnet to Solaris

Hi, i have a strange problem. i have a HP-UX which is used to telnet to two solaris machine via port 11000. On the solaris machines, there's an application that sends a series of ascii character separated by LF over to the the HP-UX. The problem is that when the HP-UX connects to solaris A,... (2 Replies)
Discussion started by: xenomage
2 Replies

6. Solaris

Unable to login using ssh,telnet onto my solaris machine with solaris 10 installed

Hi, I am unable to login into my terminal hosting Solaris 10 and get the below error message "Server refused to allocate pty ld.so.1: sh: fatal: libc.so.1: open failed: No such file or directory " Is there anyways i can get into my machine and what kind of changes are required to be... (7 Replies)
Discussion started by: sankasu
7 Replies

7. UNIX for Advanced & Expert Users

How to allow Solaris OS user to telnet to specific IP?

Dear All, I need help on allow/disallow OS user to telnet to specific IP address from client side? I have one Solaris 10 machine, I will permit OS user to telnet to specific IP address. (5 Replies)
Discussion started by: mamun_bu
5 Replies

8. Solaris

Telnet solaris error

Hi all, I want to telnet/ssh my solaris 10 which was installed in VMware and my host OS is windows 7. I have set the ip address properly in /etc/hosts, /etc/netmasks, /etc/defaultrouter. But when i try to connect it through putty ti shows network connection error. any help is appreciated ... (11 Replies)
Discussion started by: Kathirvel G
11 Replies

9. Solaris

Not able to install telnet on Solaris 11

Hi Solaris 11 Guru, I am not able to install telent on Solaris 11 with the following error as root: uname -a SunOS servername 5.11 11.2 i86pc i386 i86pc pkg install /service/network/telnet pkg: 0/1 catalogs successfully updated: Unable to contact valid package repository Encountered... (3 Replies)
Discussion started by: gjackson123
3 Replies
Plack::App::URLMap(3pm) 				User Contributed Perl Documentation				   Plack::App::URLMap(3pm)

NAME
Plack::App::URLMap - Map multiple apps in different paths SYNOPSIS
use Plack::App::URLMap; my $app1 = sub { ... }; my $app2 = sub { ... }; my $app3 = sub { ... }; my $urlmap = Plack::App::URLMap->new; $urlmap->map("/" => $app1); $urlmap->map("/foo" => $app2); $urlmap->map("http://bar.example.com/" => $app3); my $app = $urlmap->to_app; DESCRIPTION
Plack::App::URLMap is a PSGI application that can dispatch multiple applications based on URL path and hostnames (a.k.a "virtual hosting") and takes care of rewriting "SCRIPT_NAME" and "PATH_INFO" (See "HOW THIS WORKS" for details). This module is inspired by Rack::URLMap. METHODS
map $urlmap->map("/foo" => $app); $urlmap->map("http://bar.example.com/" => $another_app); Maps URL path or an absolute URL to a PSGI application. The match order is sorted by host name length and then path length. URL paths need to match from the beginning and should match completely till the path separator (or the end of the path). For example, if you register the path "/foo", it will match with the request "/foo", "/foo/" or "/foo/bar" but it won't match with "/foox". Mapping URL with host names is also possible, and in that case the URL mapping works like a virtual host. Mappings will nest. If $app is already mapped to "/baz" it will match a request for "/foo/baz" but not "/foo". See "HOW THIS WORKS" for more details. mount Alias for "map". to_app my $handler = $urlmap->to_app; Returns the PSGI application code reference. Note that the Plack::App::URLMap object is callable (by overloading the code dereference), so returning the object itself as a PSGI application should also work. DEBUGGING
You can set the environment variable "PLACK_URLMAP_DEBUG" to see how this application matches with the incoming request host names and paths. HOW THIS WORKS
This application works by fixing "SCRIPT_NAME" and "PATH_INFO" before dispatching the incoming request to the relocated applications. Say you have a Wiki application that takes "/index" and "/page/*" and makes a PSGI application $wiki_app out of it, using one of supported web frameworks, you can put the whole application under "/wiki" by: # MyWikiApp looks at PATH_INFO and handles /index and /page/* my $wiki_app = sub { MyWikiApp->run(@_) }; use Plack::App::URLMap; my $app = Plack::App::URLMap->new; $app->mount("/wiki" => $wiki_app); When a request comes in with "PATH_INFO" set to "/wiki/page/foo", the URLMap application $app strips the "/wiki" part from "PATH_INFO" and appends that to "SCRIPT_NAME". That way, if the $app is mounted under the root (i.e. "SCRIPT_NAME" is "") with standalone web servers like Starman, "SCRIPT_NAME" is now locally set to "/wiki" and "PATH_INFO" is changed to "/page/foo" when $wiki_app gets called. AUTHOR
Tatsuhiko Miyagawa SEE ALSO
Plack::Builder perl v5.14.2 2011-06-22 Plack::App::URLMap(3pm)
All times are GMT -4. The time now is 06:14 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy