Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Configuring Apache on Windows: Encrypted files |
|
Author |
|
webwench
Joined: 04 Feb 2009 Posts: 1
|
Posted: Wed 04 Feb '09 4:20 Post subject: Configuring Apache on Windows: Encrypted files |
|
|
Perhaps everyone knows this but me, but since I fought with this issue for about an hour before successfully googling up the solution, I thought I'd post it.
I installed/configured Apache on my WindowsXP Professional laptop, and moved a directory of html files and subfolders into htdocs. I was able to pull up the default index.html document in a browser, and also created a phpinfo.php document and was able to pull that up in a browser.
However, none of the files in any of the subdirectories could be retrieved. I was also unable to pull up any files out of the root if the files had been copied from one of the subdirectories.
The error message I would get:
"Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Fatal error: Unknown: Failed opening required 'C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/[directory]/[file]' (include_path='.;C:\php5\pear') in Unknown on line 0"
It turned out to be the dumbest thing. My system encrypts all files, and once the file is encrypted, Apache won't display it. I unencrypted these files,and they were fine.
I neer would have guessed this from the error I saw in Apache, of course.
Hope this helps someone |
|
Back to top |
|
|
|
|
|
|