This question already has an answer here:
- Why not use a WAMP stack? 3 answers
I'm trying to create a bin folder accessible to a virutalhost beneath the document root.
I currently access the folder through mysite.local/bin, but need the files to be beneath public access.
Alias /bin/ "C:/wamp/www/bin/" <Directory "bin"> AllowOverride None Options None Order allow,deny Allow from all </Directory>
<VirtualHost *:80> ServerName mysite.local DocumentRoot "c:/wamp/www/mysite.com/html" </VirtualHost>
Theoretically the file tree should read
/mysite.com /html <-- where mysite.com reads from /bin /other private folders
That way the file in url: mysite.com actual path: mysite.com/html/index.php could read something like this:
<?php include "../bin/privatefile.php"; ?>