Networking Forums

Networking Forums > Computer Networking > Linux Networking > apache: mod_perl only through ssh?

Reply
Thread Tools Display Modes

apache: mod_perl only through ssh?

 
 
Ueli =?ISO-8859-1?Q?Schl=E4pfer?=
Guest
Posts: n/a

 
      10-26-2003, 05:33 PM
Hi all,

sorry if this seems obvious to mre experienced apache admins -- but it
definitely isn't obvious to me...

I'd like to configure an apache with proxied mod_perl such that perl
scripts can only be executed through an https connection. So far I have
https (mod_ssl) up and running, but any attempts at limiting mod_perl to
secure connections were unsuccessful. What solutions should I try?

Configuration information:

Apache-AdvancedExtranetServer/1.3.22 Server at <myhost> Port 8200
PERL_SEND_HEADER = On
HTTP_HOST = 127.0.0.1:8200
GATEWAY_INTERFACE = CGI-Perl/1.1
SERVER_SOFTWARE = Apache-AdvancedExtranetServer/1.3.22 (Mandrake Linux/10.1mdk) mod_perl/1.26 PHP/4.0.6
SERVER_ADMIN = root@localhost
REMOTE_ADDR = 127.0.0.1
SCRIPT_NAME = /perl/registry.pl
SERVER_NAME = <myhost>
HTTP_ACCEPT_ENCODING = gzip,deflate
DOCUMENT_ROOT = /var/www/html
REQUEST_URI = /perl/registry.pl
HTTP_ACCEPT_CHARSET = ISO-8859-1,utf-8;q=0.7,*;q=0.7
SCRIPT_FILENAME = /var/www/perl/registry.pl
REQUEST_METHOD = GET
PATH = /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
SERVER_PORT = 8200

Thanks for any pointers,

Ueli
 
Reply With Quote
 
 
 
 
Joe Dunning
Guest
Posts: n/a

 
      10-27-2003, 01:10 AM
On Sun, 26 Oct 2003 19:33:31 +0100, Ueli Schläpfer <usc+(E-Mail Removed)> wrote:
>Hi all,
>
>sorry if this seems obvious to mre experienced apache admins -- but it
>definitely isn't obvious to me...
>
>I'd like to configure an apache with proxied mod_perl such that perl
>scripts can only be executed through an https connection. So far I have
>https (mod_ssl) up and running, but any attempts at limiting mod_perl to
>secure connections were unsuccessful. What solutions should I try?


Use the statement "SSLRequireSSL" in a DIRECTORY statement for the perl
scripts?

You might also want to play with Virtual Hosts and put the perl scripts
somewhere that only the SSL vhost can access.
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
IIS Vs Apache NeWGeeK Windows Networking 4 06-22-2009 03:04 PM
Apache mrdjmagnet@aol.com Linux Networking 1 12-14-2008 01:05 AM
apache behind router julian_m Network Routers 3 03-25-2006 07:34 AM
IIS vs Apache...???? gerry Home Networking 9 09-07-2004 07:15 PM
IPTABLES & APACHE JJMMPP Linux Networking 3 08-11-2003 07:17 PM



1 2 3 4 5 6 7 8 9 10 11