Make XAMPP / Apache serve file outside of htdocs folder [closed]
"Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 8 years ago.
Improve this question
Is it possible to configure xampp to serve up a file outside of the htdocs directory?
For instance, say I have a file located as follows:
and my xampp files are normally served out from:
(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"""