httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Albrecht Marcus <>
Subject AW: PHP does not work on VirtualHost
Date Wed, 24 Jul 2002 08:01:37 GMT

make sure your type entry for php is on for the whole server:

AddType application/x-httpd-php .php

Maybe it was only active for the main server.
Try placing it in your virtual host for testing.


-----Ursprüngliche Nachricht-----
Von: Stuart Otway []
Gesendet: Montag, 22. Juli 2002 16:27
Betreff: PHP does not work on VirtualHost


i put it a virtual host into my httpd.conf like so:

<VirtualHost 122.456.789.101:8080>
DocumentRoot /www/html/myphpap
ServerName 122.456.789.101:8080
ScriptAlias /cgi-bin /www/html/cgi-bin
ErrorLog logs/myap-error.log
CustomLog logs/myap-access.log common

it just displays php as text? can i not run php on a virtual host? it
ran fine when it was on the default server (DocumentRoot
"/www/html/myphpap") but when i move it over it reads the php like text.

Any help or advice would be great.


Diese E-Mail ist vertraulich und kann darüber hinaus persönliche Inhalte
haben. Bitte löschen Sie die E-Mail und benachrichtigen Sie uns sofort, wenn
Sie nicht der bestimmungsgemäße Empfänger sind. Die SYCOR AG willigt in
keine Verträge oder vertragliche Verpflichtungen ein oder übermittelt
rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern
dies nicht ausdrücklich in schriftlicher Form zwischen den Parteien
vereinbart wurde. 
This e-mail is confidential and may contain personal and/or priviledged
material. Please delete this e-mail and inform us immediately in case you
are not the directed recipient. SYCOR AG does not agree with contracts or
contract obligations. Neither do we transmit legally binding offers by
e-mail unless this has been expressly agreed upon between the parties and
documented in written form.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message