On 4/10/07, Arsen Hayrapetyan <[EMAIL PROTECTED]> wrote:
Hello,
The question may sound something primitive, but I could not understand
the underlying mechanism...
I have a server with the name aligrid1.yerphi.am.
DOCUMENT_ROOT == /a/b/httpd/docs
and
ScriptAlias /cgi-bin/ "/a/b/httpd/cgi-bin/"
There
is a directory, called 'pub' in my cgi-bin directory, and there is a
script, called 'pki' there (/a/b/httpd/cgi-bin/pub/pki)
When I type in into my browser the following URL:
https://aligrid1.yerphi.am/pub
the pki file is executed (though, its name was not in URL). When I make
this file not executable, an error appears.
Could anybody explain please the mechanism, which Apache works in this
situation?
The following is the content of the page /pub/ on your server:
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<META NAME="Author" CONTENT="Massimiliano Pala">
<META NAME="GENERATOR" CONTENT="Mozilla/4.05 [en] (X11; I; Linux
2.0.34 i686) [Netscape]">
<meta http-equiv="refresh" content="0;
URL=/cgi-bin/pub/pki?cmd=getStaticPage&name=index">
...
In other words, you (or someone else) has deliberately configured your
server to forward requests to this other location. It has nothing to
do with apache configuration.
Joshua.
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]