httpd-users mailing list archives

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

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.

Regards
Marcus


-----Ursprüngliche Nachricht-----
Von: Stuart Otway [mailto:stuart@moveassist.com]
Gesendet: Montag, 22. Juli 2002 16:27
An: users@httpd.apache.org
Betreff: PHP does not work on VirtualHost


hi,

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

<VirtualHost 122.456.789.101:8080>
ServerAdmin me@here.com
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
</VirtualHost>

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.

thanks
stu
 
----------------------------------------------------------------------------

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: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message