Apache/SSL und PHP3
Frank Matthieß
frankm at lug-owl.de
Mon Aug 11 15:24:15 CEST 2003
Andre Landwehr [2003-08-11 11:26 CEST]:
> On Mon, Aug 11, 2003 at 11:11:02AM +0200, Frank Matthieß wrote:
>
> > Wird in jedem Fall /usr/bin/php3 ausgeführt oder führt das
> > Apacheservermodul libphp3.so die Scripte direkt aus?
>
> letzteres sollte der Fall sein, sofern du ihm in der
> Konfiguration gesagt hast, daß PHP der Handler für dieses
> Verzeichnis / diesen Dateityp ist.
[/etc/apache-ssl/httpd.conf]
...
LoadModule mime_magic_module /usr/lib/apache/1.3/mod_mime_magic.so
LoadModule mime_module /usr/lib/apache/1.3/mod_mime_ssl.so
LoadModule php3_module /usr/lib/apache/1.3/libphp3.so
...
<IfModule mod_mime.c>
...
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps
...
</IfModule>
...
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory /usr/lib/cgi-bin/>
AddHandler application/x-httpd-php3 .php3 # Diese Zeile war noch hinzuzufügen...
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AllowOverride None
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
...
[/etc/apache-ssl/httpd.conf]
Danke für den Hiweisae Andre.
Frank.
--
Frank Matthieß frankm at lug-owl.de
"Was in der großen Weltpolitik der Fall der Berliner Mauer war, das wird dieses
Votum in unserer Branche sein."
Richard Seibt, Vorstandsvorsitzender der SuSE Linux AG zur Linux-Entscheidung
der Stadt München
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lug-owl.de/pipermail/linux/attachments/20030811/2f37f13e/attachment.sig>
More information about the Linux
mailing list