Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

DO NOT REPLY [Bug 10046] New: - i see the source code of php on http://<ServerAlias>/

From: <bugzilla(at)apache.org>
Date: Thu Jun 20 2002 - 04:52:14 EDT


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:///
           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

Do you need help?X

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

     
        Options -Indexes -FollowSymLinks MultiViews
        Order allow,deny
        Allow from All
     

</VirtualHost>
Do you need more help?X

<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

     
        Options -Indexes -FollowSymLinks MultiViews
        Order allow,deny
        Allow from All
     

</VirtualHost>


To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org Received on Thu Jun 20 08:51:57 2002

This archive was generated by hypermail 2.1.8 : Wed Aug 23 2006 - 16:43:40 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library