08-30-2018
@vbe
Thanks for the reply. Sorry I should have provided the information.
OS: AIX 7.1 TL 04 SP 06
Middleware: WAS 8.x
Database: DB2 11.x
we use only 1 IP per LPAR. We do not have Mirrored vg as of now.
But, We usually add a (on demand) new disk (alt_disk_copy/clone) during OS upgrades.
Thank you.
9 More Discussions You Might Find Interesting
1. AIX
Hello,
We would to migrate some shell scripts (korn shell) from HP-UX to AIX 5.2
I would know:
- If the HP-UX scripts work as well in AIX?
- If no, is there a migration tool to detect incompatible lines in scripts?
- How do proceed?
Our scripts do:
- Loads data in Oracle... (1 Reply)
Discussion started by: P026687
1 Replies
2. AIX
Hi All,
Needed commands to find Monitor , chassis & keyboard related information on AIX.
Please please please help.
Thanks
VK (2 Replies)
Discussion started by: Veenak15
2 Replies
3. AIX
I'd like to start by saying how extremely new I am to any UNIX OS, although I've been dealing with Linux systems off and on for roughly a year now, and am trained primarily on Windows Servers.
Our company has an old AIX system, running AIX version 4. The server we are using is more then 10... (6 Replies)
Discussion started by: webers
6 Replies
4. AIX
If anyone has the answer to this question I would be eternally grateful:
I just took a new job supporting IBM Blade Servers and "E" Chassis. The model for this is significantly different than anything I have done in the past which has included what I would call typical Unix support... (2 Replies)
Discussion started by: jtelep
2 Replies
5. AIX
How to install/ migrate AIX through remote login (1 Reply)
Discussion started by: AIXlearner
1 Replies
6. SCO
hi
Howto migrate SCO Unix 5.0.6 to different hardware?
I'd like to try using Acronis.
Which Acronis Version support SCO Unix 5.0.6? (14 Replies)
Discussion started by: ccc
14 Replies
7. AIX
Hi,
I have questions about unix AIX's lvm.
Is there some problem to do migrate lp into a mirrored vg or should i break the mirror before?
Is necessary to run reorgvg after I migrate lp ?
thanks (1 Reply)
Discussion started by: alfastar
1 Replies
8. AIX
Using nimadm:
nimadm -j nimadmvg -c sap024 -s spot_6100 -l lpp_6100 -d "hdisk1" -Y
Initializing the NIM master.
Initializing NIM client sap024.
0505-205 nimadm: The level of bos.alt_disk_install.rte installed in SPOT
spot_6100 (6.1.3.4) does not match the NIM master's level (7.1.1.2).... (2 Replies)
Discussion started by: sciacca75
2 Replies
9. SCO
Good afternoon all,
I'm a bit stuck... I honestly don't know very much about Unix let alone UnixWare for that matter. I have a system that's very old and could fail really at any time. I have another server I'd like to move everything to yet I don't know what's possible. The current server is... (2 Replies)
Discussion started by: rubiks015
2 Replies
LEARN ABOUT DEBIAN
plack::middleware::static
Plack::Middleware::Static(3pm) User Contributed Perl Documentation Plack::Middleware::Static(3pm)
NAME
Plack::Middleware::Static - serve static files with Plack
SYNOPSIS
use Plack::Builder;
builder {
enable "Plack::Middleware::Static",
path => qr{^/(images|js|css)/}, root => './htdocs/';
$app;
};
DESCRIPTION
Enable this middleware to allow your Plack-based application to serve static files.
If the given request matches with the pattern defined in "path", this middleware will try to locate the file in "root". If the file exists
it will be served but otherwise 404 response will be returned. See "pass_through" option below to change this behavior.
If the requested document is not within the "root" (i.e. directory traversal) or the file is there but not readable, a 403 Forbidden
response will be returned.
The content type returned will be determined from the file extension based on Plack::MIME.
CONFIGURATIONS
path, root
enable "Plack::Middleware::Static",
path => qr{^/static/}, root => 'htdocs/';
"path" specifies the URL pattern (regular expression) or a callback to match with requests to serve static files for. "root" specifies
the root directory to serve those static files from. The default value of "root" is the current directory.
This examples configuration serves "/static/foo.jpg" from "htdocs/static/foo.jpg". Note that the matched "/static/" portion is still
appears in the local mapped path. If you don't like it, use a callback instead to munge $_:
enable "Plack::Middleware::Static",
path => sub { s!^/static/!! }, root => 'static-files/';
This configuration would serve "/static/foo.png" from "static-files/foo.png" (not "static-files/static/foo.png"). The callback
specified in "path" option matches against $_ and then updates the value since it does s///, and returns the number of matches, so it
will pass through when "/static/" doesn't match.
If you want to map multiple static directories from different root, simply add "this", middleware multiple times with different
configuration options.
pass_through
By turning on this option, this middleware will pass the request back to the application for further processing, if the incoming
request path matches with the "path" but the requested file is not found on the file system.
AUTHOR
Tokuhiro Matsuno, Tatsuhiko Miyagawa
SEE ALSO
Plack::Middleware Plack::Builder
perl v5.14.2 2011-06-22 Plack::Middleware::Static(3pm)