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

Apache, CGI-BIN e SSI



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ciao a tutti,
ho Debian Lenny 5.0.4 x86 che uso come server per EPrints.

Ho un problema strano con i Server Side Includes: quando, dalla pagina
html, chiamo:

<h1>Ultime aggiunte</h1>
<!--#include virtual="/cgi/latest?output=inline&limit=2" -->

il CGI-BIN "latest" viene eseguito ma senza il passaggio dei parametri
GET. Ovvero non arriva output=inline e limit=2, causando un gran casino :-)

la configurazione Apache del sito è:

<VirtualHost *:80>

[...]

  <Location "">
    PerlSetVar EPrints_ArchiveID oasi

    Options +ExecCGI +Includes
    Order allow,deny
    Allow from all
  </Location>

  # Note that PerlTransHandler can't go inside
  # a "Location" block as it occurs before the
  # Location is known.
  PerlTransHandler +EPrints::Apache::Rewrite

    <Location />
        Options +Includes +ExecCGI
        AddOutputFilter INCLUDES .html
        XBitHack off
    </Location>

[...]

</VirtualHost>

Ho ovviamente abilitato il modulo include e, come ripeto, il comando SSI
viene eseguito.

Idee su come risolvere ? Grazie, Michele


- --
|| Michele Pinassi
|| System Manager Area Sistema Biblioteche - UniSi
|| https://sites.google.com/a/unisi.it/o-zone/
|| Assistenza: +39.577.232299 (int. 2299)
|| Personale: +39.577.232477 (int. 2477)
|| FAX: +39.577.232430 (int. 2430)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkv9H48ACgkQFPw35TwkuY6SPQCglnUdwODzkIkI1nHYnCYAwD1V
G/UAoKdBq9YpTXgRMdd6L+s3ckMzI1Mm
=31g2
-----END PGP SIGNATURE-----
begin:vcard
fn:Michele Pinassi
n:Pinassi;Michele
org;quoted-printable:Universit=C3=A0 degli Studi di Siena;Sistema Bibliotecario di Ateneo
adr:;;Via Banchi di Sotto 55;Siena;SI;53100;Italy
email;internet:michele.pinassi@unisi.it
title:System Manager
tel;work:0577 232477
tel;fax:0577 232430
x-mozilla-html:FALSE
url:https://sites.google.com/a/unisi.it/o-zone/
version:2.1
end:vcard


Reply to: