I'm trying to find information to help me switch to UNIX os from Windows98. Is this where I should be? If so, can someone get me started? I have a Compaq Presario 5030 with a USR 56k modem and other peripherials. Sound card is integrated onto the motherboard (I think). So, I need drivers, etc. Any... (2 Replies)
Basically i am not looking for you guys to write the script for me but help me understand how to write it and point me in the write direction.
I can see what i want to do, just having trouble putting it into shell.
I have a file Blah.txt with 400 DN's in it. I need to modify two attributes... (1 Reply)
Hi everyone...
i'm starting to learn kshell scripting... my first task is to write a script that would execute some mysql statements to query some data, to transfer it into a file for record basis...
Anyone has any samples to share? or perhaps some tips here and there?
Thanks in advance...... (2 Replies)
:)Hi,
I am working on perl-cgi script which i wrote on unix server, and now i want to run it from windows.
Have put DNS entry, sybase and apache is running...
But still I am getting 500 Internal Server Error!!!
what could be the reason? (2 Replies)
Hi All,
I am seeking some help. While trying to access my website: EDITED (hosted on private server somewhere - don't want to publicize names) - I have a weird behaviour:
I can always get to the site - but some applications get a 500 Internal error.
If I use FireBug (mozilla addon) I can... (2 Replies)
Hi,
I need a quick help from GURUs of PERL.
I moved a website to a new location and got an error "Internal Server Error" instead of specific error. As i don't know PERL so i don't know how to fix it.
Can anybody help me to fix this error or to generate a specific error which i can... (3 Replies)
Hey guys,
I'm really new to all this side of computing and have just had this box sort of left with me and it peaked my curiosity. So i would up here in a desperate bid to find out what the hell it is because although its sort of obvious what it is, no where online is able to give me a detailed... (5 Replies)
Discussion started by: anthony346
5 Replies
LEARN ABOUT DEBIAN
http::server::simple::static
HTTP::Server::Simple::Static(3pm) User Contributed Perl Documentation HTTP::Server::Simple::Static(3pm)NAME
HTTP::Server::Simple::Static - Serve static files with HTTP::Server::Simple
VERSION
This documentation refers to HTTP::Server::Simple::Static version 0.07
SYNOPSIS
package MyServer;
use base qw(HTTP::Server::Simple::CGI);
use HTTP::Server::Simple::Static;
sub handle_request {
my ( $self, $cgi ) = @_;
return $self->serve_static( $cgi, $webroot );
}
package main;
my $server = MyServer->new();
$server->run();
DESCRIPTION
this mixin adds a method to serve static files from your HTTP::Server::Simple subclass.
SUBROUTINES /METHODS
serve_static
Takes a base directory and a web path, and tries to serve a static file. Returns 0 if the file does not exist, returns 1 on success.
BUGS AND LIMITATIONS
Bugs or wishlist requests should be submitted via http://rt.cpan.org/
SEE ALSO AUTHOR
Stephen Quinney "sjq-perl@jadevine.org.uk"
Thanks to Marcus Ramberg "marcus@thefeed.no" and Simon Cozens for initial implementation.
LICENSE AND COPYRIGHT
Copyright 2006 - 2008. Stephen Quinney "sjq-perl@jadevine.org.uk"
You may distribute this code under the same terms as Perl itself.
perl v5.14.2 2012-06-30 HTTP::Server::Simple::Static(3pm)