[Xitami] cgi-bin in webpage folder
Gregory Hart
xitami@lists.xitami.org
Sun, 28 Apr 2002 13:44:33 -0700
This is a multi-part message in MIME format.
------=_NextPart_000_0006_01C1EEBA.D435ADE0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Just go into the 'Configuration' menu from http://localhost/admin, and =
then it should show a page with many text boxes. The first three are the =
ones that you want to focus on. The first one called 'Main HTML =
directory' is your webpage directory. Change the one called 'Main CGI =
directory' to the 'Main HTML directory'. Next, change the 'CGI URLs =
start with' to /. Finally, press Save at the top left and you'll be =
brought to the main menu. The last step is to press Restart in the top =
right corner. It should say 'Server is restarting...' and then you can =
start using your cgi files in your webpage directory, or any sub-folders =
in it, once you see that message.
If it still doesn't work, try right-clicking on Xitami and press =
terminate. Then you need to start Xitami again.
I hope that works for you! Email me again if still have problems.
-Greg
----- Original Message -----=20
From: A Message from Africa=20
To: xitami@lists.xitami.org=20
Sent: Saturday, April 27, 2002 10:25 PM
Subject: Re: [Xitami] cgi-bin in webpage folder
Greg, many thanks. In the webpage directory, I have a whole lot of =
folders with a web site in each folder. In the cgi-bin, I have the same =
named folders with their respective named folders which have the cgi =
file. I simply want to put that cgi-bin folder (which contains the cgi =
file) into the website folder. It would simplify everything for me as it =
would all be in the same place. For your information, I am using xitami =
just to test my scripts before loading my stuff onto the net.... but I'm =
really new at this. from what you say below, do I just put a folder =
called cgi-bin into the website folder itself? Up until now, I have kept =
them separate because I know it works and I don't want ot mess up =
xitami, by playing around with it. however, I seem to be building up =
folders and it is fiddly the way it is right now.
----- Original Message -----=20
From: Gregory Hart=20
To: xitami@lists.xitami.org=20
Sent: Sunday, April 28, 2002 6:07 AM
Subject: Re: [Xitami] cgi-bin in webpage folder
It depends on what you mean by a whole lot of sites. If you are just =
using one configuration, but you want many directories that you want to =
have cgi access, you just put the cgi-bin directory to your webpage =
directory. If you have virtual hosts, instead of clicking on =
configuration, you need to click on virtual hosts, then on the =
configuration that you want to change, and then you can change the =
cgi-bin directory. If you mean something different, just email me. Hope =
that helps!
-Greg
----- Original Message -----=20
From: A Message from Africa=20
To: xitami@lists.xitami.org=20
Sent: Saturday, April 27, 2002 8:51 PM
Subject: Re: [Xitami] cgi-bin in webpage folder
Thanks Greg. What if I have a whole lot of sites?
----- Original Message -----=20
From: Gregory Hart=20
To: xitami@lists.xitami.org=20
Sent: Sunday, April 28, 2002 5:23 AM
Subject: Re: [Xitami] cgi-bin in webpage folder
Open your web browser, go to http://localhost/admin, click on =
configuration, and then change the cgi-bin directory to your webpage =
directory, or a directory in your webpage directory.
-Greg
----- Original Message -----=20
From: A Message from Africa=20
To: xitami@lists.xitami.org=20
Sent: Saturday, April 27, 2002 7:44 PM
Subject: [Xitami] cgi-bin in webpage folder
I am a bit of a dummy, newbie or slow .... take your choice (must be =
the hot African sun ! ). Can anyone help. I simply want to put a cgi-bin =
with my webpages (ie in each website folder) instead of having them all =
in the main xitami cgi-bin. If you can help, it would be much =
appreciated. It would be even more appreciated if you could explain how =
to do it in easy steps. Thank you in anticipation. ..... now back to the =
sunshine ........>>>
------=_NextPart_000_0006_01C1EEBA.D435ADE0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Just go into the 'Configuration' menu =
from <A=20
href=3D"http://localhost/admin">http://localhost/admin</A>, and then it =
should=20
show a page with many text boxes. The first three are the ones that you =
want to=20
focus on. The first one called 'Main HTML directory' is your webpage =
directory.=20
Change the one called 'Main CGI directory' to the 'Main HTML directory'. =
Next,=20
change the 'CGI URLs start with' to /. Finally, press Save at the top =
left and=20
you'll be brought to the main menu. The last step is to press Restart in =
the top=20
right corner. It should say 'Server is restarting...' and then you can =
start=20
using your cgi files in your webpage directory, =
or any sub-folders in=20
it, once you see that message.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>If it still doesn't work, try =
right-clicking on=20
Xitami and press terminate. Then you need to start Xitami =
again.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I hope that works for you! Email me =
again if still=20
have problems.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>-Greg</FONT></DIV>
<DIV> </DIV>
<DIV style=3D"FONT: 10pt arial">----- Original Message -----=20
<DIV style=3D"BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A=20
href=3D"mailto:superpac@mweb.co.za" title=3Dsuperpac@mweb.co.za>A =
Message from=20
Africa</A> </DIV>
<DIV><B>To:</B> <A href=3D"mailto:xitami@lists.xitami.org"=20
title=3Dxitami@lists.xitami.org>xitami@lists.xitami.org</A> </DIV>
<DIV><B>Sent:</B> Saturday, April 27, 2002 10:25 PM</DIV>
<DIV><B>Subject:</B> Re: [Xitami] cgi-bin in webpage folder</DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>Greg, many thanks. In the webpage =
directory, I have=20
a whole lot of folders with a web site in each folder. In the cgi-bin, I =
have=20
the same named folders with their respective named folders which have =
the cgi=20
file. I simply want to put that cgi-bin folder (which contains the =
cgi=20
file) into the website folder. It would simplify everything for me as it =
would=20
all be in the same place. For your information, I am using xitami just =
to test=20
my scripts before loading my stuff onto the net.... but I'm really new =
at this.=20
from what you say below, do I just put a folder called cgi-bin into the =
website=20
folder itself? Up until now, I have kept them separate because I know it =
works=20
and I don't want ot mess up xitami, by playing around with it. however, =
I seem=20
to be building up folders and it is fiddly the way it is right =
now.</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A href=3D"mailto:greg@freastro.net" title=3Dgreg@freastro.net>Gregory =
Hart</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
href=3D"mailto:xitami@lists.xitami.org"=20
title=3Dxitami@lists.xitami.org>xitami@lists.xitami.org</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Sunday, April 28, 2002 =
6:07=20
AM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [Xitami] cgi-bin =
in webpage=20
folder</DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>It depends on what you mean by a =
whole lot of=20
sites. If you are just using one configuration, but you want many =
directories=20
that you want to have cgi access, you just put the cgi-bin directory =
to your=20
webpage directory. If you have virtual hosts, instead of clicking on=20
configuration, you need to click on virtual hosts, then on the =
configuration=20
that you want to change, and then you can change the cgi-bin =
directory. If you=20
mean something different, just email me. Hope that helps!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>-Greg</FONT></DIV>
<DIV> </DIV>
<DIV style=3D"FONT: 10pt arial">----- Original Message -----=20
<DIV style=3D"BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A=20
href=3D"mailto:superpac@mweb.co.za" title=3Dsuperpac@mweb.co.za>A =
Message from=20
Africa</A> </DIV>
<DIV><B>To:</B> <A href=3D"mailto:xitami@lists.xitami.org"=20
title=3Dxitami@lists.xitami.org>xitami@lists.xitami.org</A> </DIV>
<DIV><B>Sent:</B> Saturday, April 27, 2002 8:51 PM</DIV>
<DIV><B>Subject:</B> Re: [Xitami] cgi-bin in webpage =
folder</DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>Thanks Greg. What if I have a whole =
lot of=20
sites?</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; =
MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A href=3D"mailto:greg@freastro.net" =
title=3Dgreg@freastro.net>Gregory Hart</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
href=3D"mailto:xitami@lists.xitami.org"=20
title=3Dxitami@lists.xitami.org>xitami@lists.xitami.org</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Sunday, April 28, 2002 =
5:23=20
AM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [Xitami] cgi-bin =
in=20
webpage folder</DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>Open your web browser, go to <A=20
href=3D"http://localhost/admin">http://localhost/admin</A>, click on =
configuration, and then change the cgi-bin directory to your webpage =
directory, or a directory in your webpage directory.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>-Greg</FONT></DIV>
<DIV> </DIV>
<DIV style=3D"FONT: 10pt arial">----- Original Message -----=20
<DIV style=3D"BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> =
<A=20
href=3D"mailto:superpac@mweb.co.za" title=3Dsuperpac@mweb.co.za>A =
Message from=20
Africa</A> </DIV>
<DIV><B>To:</B> <A href=3D"mailto:xitami@lists.xitami.org"=20
title=3Dxitami@lists.xitami.org>xitami@lists.xitami.org</A> </DIV>
<DIV><B>Sent:</B> Saturday, April 27, 2002 7:44 PM</DIV>
<DIV><B>Subject:</B> [Xitami] cgi-bin in webpage folder</DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>I am a bit of a dummy, newbie or =
slow .... take=20
your choice (must be the hot African sun ! ). Can anyone help. I =
simply want=20
to put a cgi-bin with my webpages (ie in each website folder) =
instead=20
of having them all in the main xitami cgi-bin. If you can help, it =
would be=20
much appreciated. It would be even more appreciated if you could =
explain how=20
to do it in easy steps. Thank you in anticipation. ..... now back to =
the=20
sunshine=20
........>>></FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>=
------=_NextPart_000_0006_01C1EEBA.D435ADE0--