[LUGOS] Se opro ščam za napako!
Gasper Lakota - Jericek
gasper at bsnet.dhs.org
Thu Jun 5 19:42:37 CEST 2003
Hej,
Imaš nastavljen direktorij za cgi-je v httpd.conf?
Nekej v simslu:
<Directory /insert_http_root_here/cgi-bin/>
AllowOverride None
Options ExecCGI
...
</Directory>
Če pa se kaj zalomi:
http://httpd.apache.org/docs/howto/cgi.html
V čet, 05.06.2003 ob 19:12, je jest at softraja.com poslal(a):
> Živjo!
>
> Se oproščam vsem na listi, ker sem narobe navedel Subject, namreč
> ravno bral sem sporočilo in pomotoma tudi kliknil reply, namesto
> novo sporočilo ...
>
> lp
>
>
>
> > Živjo!
> >
> > Instaliral sem si program (CA) na RH 9. Mysql mi dela in skoraj vse mi
> > dela.
> > Samo izvrševanje Pythona (spletne strani) mi pa ne delajo.
> > Namesto, da bi se mi stran izvedla in naredila html stran, vidim na
> > ekranu izvorno kodo dokumenta..
> > Kaj pa vem, verjetno sem ga nekje "u-kamen".. Če ima kdo
> > kakšen predlog kaj mi je storiti bom hvaležen!
> >
> > lp
> >
> >
> >
> > #!/usr/bin/env python
> >
> > # ElyCA, yet another certification authority
> > # Copyright (C) 2003 Pablo Neira
> > #
> > # This program is free software; you can redistribute it and/or
> > # modify it under the terms of the GNU General Public License
> > # as published by the Free Software Foundation; either version 2
> > # of the License, or (at your option) any later version.
> > #
> > # This program is distributed in the hope that it will be useful,
> > # but WITHOUT ANY WARRANTY; without even the implied warranty of
> > # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
> > # GNU General Public License for more details.
> > #
> > # You should have received a copy of the GNU General Public License
> > # along with this program; if not, write to the Free Software
> > # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
> > USA.
> > #
> > # This program is released under the GPL with the additional exemption
> > that
> > # compiling, linking, and/or using OpenSSL is allowed
> >
> > import cgi, certs, os
> > import config
> >
> > certs.HTML.content_type()
> >
> > def generate_form(type):
> > certs.HTML.HTML(0)
> > certs.HTML.HEAD("Generate a new certificate")
> > print "<BODY>"
> >
> >
--
Gasper Lakota - Jericek <gasper at bsnet.dhs.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
Url : http://liste2.lugos.si/pipermail/lugos-list/attachments/20030605/24ede4d3/attachment-0001.pgp
More information about the lugos-list
mailing list