My requirement is that I want to start moving my sites I use under XAMPP to a folder I have synced across machines for backup's sake. For example, all my sites currently live in /Applications/xampp/xamppfiles/htdocs/ and I want to move them, to say, /Volumes/iDisk/Sites/.
The problem is very odd, I create a new virtual host in the usual way to point to a site at say /Volumes/iDisk/Sites/foo/ (where foo is the site specific folder which may have further folders within it, eg. classes/www/etc ).
When I set this up, restart apache, I get a 403 Forbidden error on accessing the site. On examining the error_log, I see a very odd error:
- Code: Select all
[Wed Sep 29 11:57:19 2010] [crit] [client 127.0.0.1] (13)Permission denied: /Volumes/iDisk/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
It is trying to access a non-existant .htaccess file above the level of the "new htdocs" as it were. If I create a .htaccess file there, the same issue occurs, I have checked the permissions on the relevant files to no avail.
This error occurs if I try to create sites on my desktop, or any other location on my hard drive.
Any ideas please? I'm stumpted!