You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Ray Grauberger <ra...@hotmail.com> on 2000/12/27 22:03:40 UTC

os-windows/7013: When creating Virtual hosts - DirectoryIndex directive fails

>Number:         7013
>Category:       os-windows
>Synopsis:       When creating Virtual hosts - DirectoryIndex directive fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Dec 27 13:10:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     ray.grauberger@hotmail.com
>Release:        1.3.14
>Organization:
apache
>Environment:
Windows 2000 Ver 5.00.2195 - Pre compiled Binaries.
>Description:
ERROR 1
This is the error I receive when a php3 file is in the root of my virtual directory.  This error occured when browsing to the virtual root c:\nusphere\apache\htdocs\spgrgraube\default.php3.  The php file works fine if it is under the original root directory.

Fatal error: Unable to open c:\nusphere\apache/htdocs/default.php3 in Unknown on line 0

--------------------------------------------------------------------------------
ERROR 2

When surfing to virtual directory spgrgraube2.  This directory has a default.cfm file.  This cfm file works correctly under the root with coldfusion installed.


Error Occurred While Processing Request
Error Diagnostic Information
The template specification, '\nusphere\apache\htdocs\rcmodeler\default.cfm', is illegal. 

Template specifications cannot include '..' nor begin with a backslash ('\\').
 
--------------------------------------------------------------------------------

Below are my directives  I am able to surf to these sites as long as my files are named html, my php3 code does not function when I do this.

Any help would be appriciated.  

Thank You
Ray Grauberger
ray.grauberger@hotmail.com

<IfModule mod_dir.c>
    DirectoryIndex default.cfm default.html default.php3 index.cfm index.html index.php3
</IfModule>

NameVirtualHost *
<VirtualHost *>
    ServerAdmin ray.grauberger@itb.mckhboc.com
    DocumentRoot /nusphere/apache/htdocs/spgrgraube
    ServerName localhost
    ErrorLog logs/spgrgraube-error_log
    CustomLog logs/spgrgraube-access_log common
</VirtualHost>
<VirtualHost *>
    ServerAdmin ray.grauberger@itb.mckhboc.com
    DocumentRoot /nusphere/apache/htdocs/rcmodeler-tv
    ServerName spgrgraube3
    ErrorLog logs/spgrgraube3-error_log
    CustomLog logs/spgrgraube3-access_log common
</VirtualHost>
<VirtualHost *>
    ServerAdmin ray.grauberger@itb.mckhboc.com
    DocumentRoot /nusphere/apache/htdocs/rcmodeler
    ServerName spgrgraube2
    ErrorLog logs/spgrgraube2-error_log
    CustomLog logs/spgrgraube2-access_log common
</VirtualHost>

>How-To-Repeat:
I have none available to the public at this time but can provide them if need be.
>Fix:
No, I am looking to someone more qualified with Apache to answer this question.
>Release-Note:
>Audit-Trail:
>Unformatted:
 [In order for any reply to be added to the PR database, you need]
 [to include <ap...@Apache.Org> in the Cc line and make sure the]
 [subject line starts with the report component and number, with ]
 [or without any 'Re:' prefixes (such as "general/1098:" or      ]
 ["Re: general/1098:").  If the subject doesn't match this       ]
 [pattern, your message will be misfiled and ignored.  The       ]
 ["apbugs" address is not added to the Cc line of messages from  ]
 [the database automatically because of the potential for mail   ]
 [loops.  If you do not include this Cc, your reply may be ig-   ]
 [nored unless you are responding to an explicit request from a  ]
 [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
 
 


Re: os-windows/7013: When creating Virtual hosts - DirectoryIndex directive fails

Posted by "William A. Rowe, Jr." <wr...@lnd.com>.
This has been reported before, please review the existing bug
reports.

Apache 1.3.13+1.3.14 -require- forward slashes in all path names
in the httpd.conf file (and command line options).  This will be
resolved, and be more flexible (either backslash or forward
slashes accepted) in the upcoming 1.3.15 release.

----- Original Message -----
From: "Ray Grauberger" <ra...@hotmail.com>
To: <su...@bugz.apache.org>
Sent: Wednesday, December 27, 2000 3:03 PM
Subject: os-windows/7013: When creating Virtual hosts - DirectoryIndex directive fails


>
> >Number:         7013
> >Category:       os-windows
> >Synopsis:       When creating Virtual hosts - DirectoryIndex directive fails
> >Confidential:   no
> >Severity:       serious
> >Priority:       medium
> >Responsible:    apache
> >State:          open
> >Quarter:
> >Keywords:
> >Date-Required:
> >Class:          sw-bug
> >Submitter-Id:   apache
> >Arrival-Date:   Wed Dec 27 13:10:00 PST 2000
> >Closed-Date:
> >Last-Modified:
> >Originator:     ray.grauberger@hotmail.com
> >Release:        1.3.14
> >Organization:
> apache
> >Environment:
> Windows 2000 Ver 5.00.2195 - Pre compiled Binaries.
> >Description:
> ERROR 1
> This is the error I receive when a php3 file is in the root of my virtual directory.  This error occured when browsing to the
virtual root c:\nusphere\apache\htdocs\spgrgraube\default.php3.  The php file works fine if it is under the original root directory.
>
> Fatal error: Unable to open c:\nusphere\apache/htdocs/default.php3 in Unknown on line 0
>
> --------------------------------------------------------------------------------
> ERROR 2
>
> When surfing to virtual directory spgrgraube2.  This directory has a default.cfm file.  This cfm file works correctly under the
root with coldfusion installed.
>
>
> Error Occurred While Processing Request
> Error Diagnostic Information
> The template specification, '\nusphere\apache\htdocs\rcmodeler\default.cfm', is illegal.
>
> Template specifications cannot include '..' nor begin with a backslash ('\\').
>
> --------------------------------------------------------------------------------
>
> Below are my directives  I am able to surf to these sites as long as my files are named html, my php3 code does not function when
I do this.
>
> Any help would be appriciated.
>
> Thank You
> Ray Grauberger
> ray.grauberger@hotmail.com
>
> <IfModule mod_dir.c>
>     DirectoryIndex default.cfm default.html default.php3 index.cfm index.html index.php3
> </IfModule>
>
> NameVirtualHost *
> <VirtualHost *>
>     ServerAdmin ray.grauberger@itb.mckhboc.com
>     DocumentRoot /nusphere/apache/htdocs/spgrgraube
>     ServerName localhost
>     ErrorLog logs/spgrgraube-error_log
>     CustomLog logs/spgrgraube-access_log common
> </VirtualHost>
> <VirtualHost *>
>     ServerAdmin ray.grauberger@itb.mckhboc.com
>     DocumentRoot /nusphere/apache/htdocs/rcmodeler-tv
>     ServerName spgrgraube3
>     ErrorLog logs/spgrgraube3-error_log
>     CustomLog logs/spgrgraube3-access_log common
> </VirtualHost>
> <VirtualHost *>
>     ServerAdmin ray.grauberger@itb.mckhboc.com
>     DocumentRoot /nusphere/apache/htdocs/rcmodeler
>     ServerName spgrgraube2
>     ErrorLog logs/spgrgraube2-error_log
>     CustomLog logs/spgrgraube2-access_log common
> </VirtualHost>
>
> >How-To-Repeat:
> I have none available to the public at this time but can provide them if need be.
> >Fix:
> No, I am looking to someone more qualified with Apache to answer this question.
> >Release-Note:
> >Audit-Trail:
> >Unformatted:
>  [In order for any reply to be added to the PR database, you need]
>  [to include <ap...@Apache.Org> in the Cc line and make sure the]
>  [subject line starts with the report component and number, with ]
>  [or without any 'Re:' prefixes (such as "general/1098:" or      ]
>  ["Re: general/1098:").  If the subject doesn't match this       ]
>  [pattern, your message will be misfiled and ignored.  The       ]
>  ["apbugs" address is not added to the Cc line of messages from  ]
>  [the database automatically because of the potential for mail   ]
>  [loops.  If you do not include this Cc, your reply may be ig-   ]
>  [nored unless you are responding to an explicit request from a  ]
>  [developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]
>
>
>