httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 10046] New: - i see the source code of php on http://<ServerAlias>/
Date Thu, 20 Jun 2002 08:52:14 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10046>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10046

i see the source code of php on http://<ServerAlias>/

           Summary: i see the source code of php on http://<ServerAlias>/
           Product: Apache httpd-2.0
           Version: 2.0.36
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: alex@netflex.nl


Hi,

I am running php 4.2.1 on winxp with apache2 (with VHost).

If i request a php script in my browser (ServerName: 
http://webapps.hardinxveld.netflex.nl/) the script is parsing to php but if i 
request a php script on my ServerAlias (ServerAliashttp://webapps/) i see the 
source code!!! But if i look at http://webapps/index.php then i will see the 
good output of php.

I will only see the source code at ServerAlias: http://webapps/ (ServerAlias: 
http://webapps/blabla/ is good)

snip of httpd.conf:

Listen 80

LoadModule php4_module C:\web\php-4.2.1\sapi\php4apache2.dll
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3

ServerAdmin admin@hardinxveld.netflex.nl

ServerName webserver.hardinxveld.netflex.nl

DocumentRoot "C:/web/www/webserver.hardinxveld.netflex.nl"

DirectoryIndex index.php index.php3 index.html index.html.var


NameVirtualHost 192.168.19.153:80
NameVirtualHost 212.104.217.117:80

<VirtualHost 212.104.217.117:80 192.168.19.153:80>
   ServerAdmin alex@netflex.nl
   DocumentRoot C:/web/www/webserver.hardinxveld.netflex.nl
   ServerName webserver.hardinxveld.netflex.nl
   ServerAlias webserver
   ErrorLog c:/web/logs/webserver.hardinxveld.netflex.nl-error_log
   CustomLog c:/web/logs/webserver.hardinxveld.netflex.nl-access_log common
     <Location />
        Options -Indexes -FollowSymLinks MultiViews
        Order allow,deny
        Allow from All
     </location>
</VirtualHost>

<VirtualHost 212.104.217.117:80 192.168.19.153:80>
   ServerAdmin alex@netflex.nl
   DocumentRoot C:/web/www/webapps.hardinxveld.netflex.nl/web
   ServerName webapps.hardinxveld.netflex.nl
   ServerAlias webapps
   ErrorLog c:/web/logs/webapps.hardinxveld.netflex.nl-error_log
   CustomLog c:/web/logs/webapps.hardinxveld.netflex.nl-access_log common
     <Location />
        Options -Indexes -FollowSymLinks MultiViews
        Order allow,deny
        Allow from All
     </location>
</VirtualHost>

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message