#21072 [Com]: php not working for other folders other than the root
| From: | eh3dfx at yahoo dot com | Date: | Thu, 19 Dec 2002 04:07:16 +0000 |
| Subject: | #21072 [Com]: php not working for other folders other than the root | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-28008@lists.php.net to get a copy of this message | ||
ID: 21072
Comment by: eh3dfx@yahoo.com
Reported By: eh3dfx@yahoo.com
Status: Bogus
Bug Type: Apache2 related
Operating System: win2k + SP3
PHP Version: 4.2.3
New Comment:
lol, it was from php actually , I changed in php.ini
doc_root="C:/program files/apche group/apache2/htdocs/" to blanc
doc_root= and php start to work on my gallery folder, but I am
concerned about security
Previous Comments:
------------------------------------------------------------------------
[2002-12-18 03:34:41] nicos@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2002-12-17 23:48:24] eh3dfx@yahoo.com
i create an alias for gallery folder in htpdconf like this
Alias /gallery "C:/gallery"
<Directory "C:/gallery">
AllowOverride Options FileInfo
Order allow,deny
Allow from all
</Directory>
and when I am trying to access phpinfo.php
(http://IP/gallery/setup/phpinfo.php) which is in
c:/gallery/setup/phpinfo.php it ggives me this error in error log file
PHP Fatal error: Unable to open C:/Program Files/Apache
Group/Apache2/htdocs/gallery/setup/phpinfo.php in Unknown on line 0 if
i try to access the same file from htdocs everything works perfect, I
dont understand why its not workin for the gallery folder!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21072&edit=1