//scriptname gets script source on https server on Win32

[prev] [thread] [next] [Date index for 2005/02/07]

From: Josef Ender
Subject: //scriptname gets script source on https server on Win32
Date: 16:12 on 07 Feb 2005
Hello

I accidentally entered a wrong URL in my browser and instead of the 
script output I got the script SOURCE back!

The URL is https://my.servername.local//p_reh/myscriptname.pl

My mistake was the double / after the server name. Single / works as 
expected. I can also enter three or more / after the server name and get 
the script source back.

This happens on both my development server and the productive server.

May this be a configuration issue?

Many thanks for any hints.

Josef


System configuration:

Apache/1.3.27 (Win32) mod_ssl/2.8.14 OpenSSL/0.9.7b mod_perl/1.27_01-dev
on NT 4.0 SP6a (development)
windows 2000 (productive).

<VirtualHost 127.0.0.1:443>

DocumentRoot c:/web/ip_virtual/my.servername.local
ServerName my.servername.local
ErrorLog logs/my.servername.local.ssl.log
CustomLog logs/my.servername.local.ssl.access.log combined
SSLEngine on
SSLCipherSuite 
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile "/Apache/conf/ssl.crt/my.servername.local.crt"

SSLCertificateKeyFile "/Apache/conf/ssl.key/my.servername.local.key"

<Files ~ "\.(cgi|shtml|phtml|php3?)$">
     SSLOptions +StdEnvVars
</Files>
</VirtualHost>

Alias /p_reh/ "c:/web/cgi/p_reh/"
<Location /p_reh>
  SetHandler perl-script
  PerlHandler Apache::Registry
  PerlSendHeader On
  Options +ExecCGI
</Location>


        -- 
        Josef Ender, Bitspot AG
http://www.bitspot.com

//scriptname gets script source on https server on Win32
Josef Ender 16:12 on 07 Feb 2005

Generated at 11:21 on 20 Feb 2005 by mariachi v0.52