php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21072 php not working for other folders other than the root
Submitted: 2002-12-17 23:48 UTC Modified: 2002-12-18 03:34 UTC
From: eh3dfx at yahoo dot com Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.2.3 OS: win2k + SP3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: eh3dfx at yahoo dot com
New email:
PHP Version: OS:

 

 [2002-12-17 23:48 UTC] eh3dfx at yahoo dot 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!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-18 03:34 UTC] 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-18 22:07 UTC] eh3dfx at yahoo dot com
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
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Mon Mar 24 07:01:27 2025 UTC