Re: CGI question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Joshua,

Joshua Slive wrote:
On 4/12/07, Arsen Hayrapetyan <ahairape@xxxxxxxxxxxxxx> wrote:

I am not familiar with Apache, I am learning it, so, please, excuse my
ignorance.
I installed the OpenCA software and now I am trying to understand its
behaviour related to
web-server.
I haven't redirected or forwarded anything in Apache config files. So, I
guess,
that the only place where this redirection could be done is the 'pki'
CGI script (in pub directory).
So, could you please answer the following questions?

1) I think that, when I type in in my browser
https://aligrid1.yerphi.am/pub,
the  web-server looks into 'pub' subdirectory in the directory,
specified by the DocumentRoot in my httpd.conf.
In that directory it finds an executable, called 'pki' and runs it as
CGI script.
Is this correct?

No, not by default. In your case, when I tested it, it appeared that
there was an index.html in the pub folder that did a "meta refresh"
redirect to the /cgi-bin/pub/pki script.

Ok.

2) Can the redirection done from within the CGI script? Is it possible?

I don't know what you are asking here. What redirection?

Please, ignore this question.

3) Could you, please, tell me, what tool did you use to capture the
content of "/pub/" page?
Is it a Mozilla plug-in or add-on?

I used wget. It is a little hard to capture with firefox because the
redirect gets followed before you have a chance to examine where you
are. And it can't be done manually (via telnet) because you are using
ssl.

OK.

Thank you very much for your exhaustive answers, they helped me lot.

Best regards,
Arsen.
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: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



---------------------------------------------------------------------
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: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux