14

Apache dynamic aliases

view full story
linux-howto

http://serverfault.com – I've got LAMP setup on a VM that I use for multiple projects. My document root is a /www and I create a folder for each project within it. /www/project1-name/ /www/project2-name/ I access them in my browser like this: http://dev.vm/project-name/ I'd like to move my htaccess and index files to a public folder within a project, so they match their production setup more accurately. /www/project-name/public/ ...but still access them with the same url as above. How can I get Apache configured to look for public/ folders as document roots for each of my projects? Note: I understand I can c (HowTos)