05-11-2004
I don't need the best in the field in this case, I am merely looking for something free that will serve my personal use.
After doing much searching, it doesnt seem like there's anything that will match my needs.
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
i want test perl program with indigo perl before i transfer it to the web, where i could get a free one software (2 Replies)
Discussion started by: zeoous
2 Replies
2. BSD
so, i have a video card SIS s315 AGP and i can't cofigure X Free on free BSD to run X window.
Anybody can help me solve this problem?? (2 Replies)
Discussion started by: Dmitri-br
2 Replies
3. Linux
What are the differences, advantages, and disadvantages? (1 Reply)
Discussion started by: Advice Pro
1 Replies
4. Solaris
Dear All,
I have installed Sun Solaris 10 on VMWare 6.5 completely and i have configured IP address already. Solaris's IP Address (on VMWare) is 192.168.10.241 and Windows xp that contain VMWare IP address is 192.168.10.125, but when i ping from solaris to my windows it didn't response at all.... (3 Replies)
Discussion started by: veasnabee
3 Replies
5. Solaris
I have installed Open Solaris 10 on VMware which is hosted on Windows XP, my PC.
I would like to have a connection between Solaris and Windows, so that i can SSH/Telnet from windows to Solaris. I don't have any Internet connection.
Please help me with the network connection settings i have to... (3 Replies)
Discussion started by: mailsachin245
3 Replies
6. Red Hat
when i try to mount share folder in redhat
mount share -t vmboxfs /mnt
it shows no filesystem vmbox:) (4 Replies)
Discussion started by: amitbharad
4 Replies
7. Virtualization and Cloud Computing
Hi ,
I have installed Centos 6.5 in my VMWare on windows 7 , My Internet is running fine on both VMWare OS and windows 7 .
When I am trying to connect from putty on my window to Vimware Linux but it does not connect.
Please help what should I do to connect the window system to Linux System (6 Replies)
Discussion started by: kaushik02018
6 Replies
8. Linux
Hi all,
I am sorry if this is a repetitive question and would be happy if I get directed to a source where I can find details about this.
I have a laptop with windows 8, 8 GB RAM and 1 TB hard disk with most of the memory available for use.
I am trying to find a good option to install Linux... (8 Replies)
Discussion started by: pat_pramod
8 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)