xampp and the koala
Tuesday, 17 November 2009 2:59 pm by noelposted in tech | tags: file permissions, karmic, linux, ubuntu, web development
some issues came up with my web development setup when i did a clean install of ubuntu 9.10 (karmic koala) and migrated my data from backups.
i have a web/php server running off my workstation on localhost being used to test html and php pages i develop. i have apache serving up name-based virtual hosts–one for each client website. accessing http://client1 would give me the local index page of client1, accessing http://client2 would give me the local index page of client2 and so on. this little webdev symphony got messed up when i performed a clean install of ubuntu 9.10. all i could get was a “403 forbidden” error message which i eventually attributed to a permission problem rather than to my server setup.
the not-so-elegant solution i found is to move all of my development files inside the public folder in my home directory, edit the httpd-vhosts.conf file to reflect the move and changed the base directory in bluefish. i also propagated the permissions from the public folder to all the files and folders it contains by right-clicking on the public folder, click on properties, choose the permissions tab, and clicking on the “apply permission to enclosed files”.
and you’re done. hopefully. i consider this a temporary solution and it worked for me. it may not work for you. your mileage might vary. don’t do this without a proper backup.


ubuntu 9.10 aka karmic koala is set to be released sometime end of october 2009 (hence the 9.10 version number).




