LMSouq
server-admin Open

Make XAMPP / Apache serve file outside of htdocs folder

CM
cmcculloh
1 month ago
3 views
Problem Description
Is it possible to configure [xampp][1] to serve up a file outside of the `htdocs` directory? For instance, say I have a file located as follows: `C:\projects\transitCalculator\trunk\TransitCalculator.php` and my [xampp][1] files are normally served out from: `C:\xampp\htdocs\` (because that's the default configuration) Is there some way to make Apache recognize and serve up my `TransitCalculator.php` file without moving it under `htdocs`? Preferably I'd like Apache to serve up/have access to the entire contents of the projects directory, and I don't want to move the projects directory under `htdocs`. edit: edited to add Apache to the question title to make Q/A more "searchable" [1]: http://www.apachefriends.org/en/xampp.html

AI-Generated Solution

Powered by LMSouq AI · GPT-4.1-mini

✓ Solution Ready
Analyzing problem and generating solution…
Was this solution helpful?
Back to Knowledge Base