GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
App::Nopaste::Service::ssh(3) User Contributed Perl Documentation App::Nopaste::Service::ssh(3)

App::Nopaste::Service::ssh - Copies files to your server using scp

version 1.013

NOPASTE_SSH_SERVER
The hostname to which you ssh. The left-hand side of the colon in the scp. For example: "sartak.org".
NOPASTE_SSH_DOCROOT
The path on disk for your pastes. For example: "public_html/paste".
NOPASTE_SSH_WEBPATH
The path for URLs. For example: "http://sartak.org/paste".
NOPASTE_SSH_MODE
Octal permissions mode to set for the temporary file before uploading. For example: 0644.
NOPASTE_SSH_USE_DESCRIPTION
Use the supplied description in the paste filename for easier identification of pastes. Defaults to the source filename, if any, but is overridden by an explicit "-d" or "--description" command line argument.

The following is a recommended Apache configuration you can drop into ".htaccess" in your paste dir.

    RemoveHandler .cgi
    RemoveHandler .pl
    AddDefaultCharset utf-8
    Options -ExecCGI -FollowSymLinks -Includes -MultiViews

It prevents common means of script execution so that ".pl" and ".cgi" files won't run and defaults the character set to UTF-8 so browsers don't have to guess wrong.

Bugs may be submitted through the RT bug tracker <https://rt.cpan.org/Public/Dist/Display.html?Name=App-Nopaste> (or bug-App-Nopaste@rt.cpan.org <mailto:bug-App-Nopaste@rt.cpan.org>).

Kevin Falcone <falcone@cpan.org

Thomas Sibley <trs@bestpractical.com>

This software is copyright (c) 2008 by Shawn M Moore.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.

2019-07-23 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.