www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Watkinson <apa...@dwatkinson.co.uk>
Subject config/8008: Can't have a directory called PHP in htdocs
Date Wed, 11 Jul 2001 13:22:37 GMT

>Number:         8008
>Category:       config
>Synopsis:       Can't have a directory called PHP in htdocs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Jul 11 06:30:02 PDT 2001
>Originator:     apache@dwatkinson.co.uk
>Release:        1.3
Win2k with PHP 4.
A colleague set up a directory within htdocs called PHP which contained several html &
PHP files.

We got a 404 Error every time we wanted to access anything within that directory, and the
Apache error log said that the browser was trying to access the file (say test.php) from c:\php\test.php.
Turns out it was because the directory was called PHP. I renamed it and all was fine.

I guess it's a mix-up with the ScriptAlias in httpd.conf? Not sure if it's an Apache or a
PHP problem, so I thought I'd let you both know!

Didn't find anything on this online anywhere either.


see above.
see above.
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@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!     ]

View raw message