[Xitami] default HTML page
Ayhan Tuncer
tuncer at dalan.com.tr
Mon Sep 12 08:18:25 CEST 2005
The following applies only if you want the /cgi-bin/ to appear in the
url of the path to your cgi-program:
You have to name the cgi script exactly as you have set up the name of
your default page.
I.e. if default page is set as index.htm, then the script has to be
named index.htm.
Xitami/Perl will not mind the file extension as long as
1) you have the shebang line at beginning of script and
2) the cgi-bin file-mixing is turned off. I think it's this one:
[Cgi]
Mixed-url=0
On the other hand, if your intention is to leave out the /cgi-bin/ from
the script's request path completely, then
1) you either set your root directory as your cgi-bin
2) or you make another alias to the full path of the cgi-program (named
again index.htm if you want it to look like the default page of a
directory).
- - -
-----Original Message-----
From: xitami-bounces at lists.xitami.org
[mailto:xitami-bounces at lists.xitami.org] On Behalf Of RPO
Sent: Friday, September 09, 2005 7:04 PM
To: xitami at lists.xitami.org
Subject: [Xitami] default HTML page
I am trying to make my default page a script, but the reference isn't
working...how can I correct this:
Current Config
============================
Main CGI: cgi-bin
CGI URLS: /cgi-bin
Default HTML Page: /cgi-bin/index.pl
More information about the Xitami
mailing list