csteinhilber
Programmer
I'm developing two sites concurrently (eventually to be housed at different hosts with different directory structures), and on my development Win2K machine I have Apache 1.3.20 set to listen to 2 ports (80, and then 8080 as a VHost) each with a different docroot. I can get Apache to serve HTML pages just fine on both ports (from the appropriate docroots). But both sites also use PHP (4.0.6), and I can't get PHP to work on the VHost (port 8080). It works fine on the "main" port (80).
In httpd.conf, I have:
Anyone have any pointers on how I might be able to get PHP to process on both ports? Right now I don't even know if it's an Apache config or PHP config problem.
Thanks much!
-Carl
In httpd.conf, I have:
Code:
Listen 80
Listen 8080
:
Port 80
:
LoadModule php4_module c:/php/sapi/php4apache.dll
:
ServerName dev.cstein
:
DocumentRoot "C:/home/[URL unfurl="true"]wwwroot/proj1"[/URL]
:
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php-source .phps
:
<VirtualHost _default_:8080>
DocumentRoot "C:/users/account/html/proj2"
Options Indexes FollowSymLinks Includes
</VirtualHost>
Anyone have any pointers on how I might be able to get PHP to process on both ports? Right now I don't even know if it's an Apache config or PHP config problem.
Thanks much!
-Carl