I installed the full package of XAMPP for Linux on Ubuntu 8.10 at the instructed location "/opt/".. It works fine with the default installation. But I wanted to change the "DocumentRoot" in httpd.conf to some other location from default /opt/lampp/htdocs. I used to do that every time I installed XAMPPlite on Linux (and Windows) and never got any trouble with it before this instance.. I keep the ServerRoot to default [on changing ServerRoot to something else gives me errors like "module.so not found" and all.. so I keep it unchanged ].
On changing the DocumentRoot to "/projects/www" where ("/projects" is a different partition), it gives me the error 403 on many of the folders within "/project/www" and other Alias'ed folders.. however, I also had an XAMPP install on the Windows FAT32 partition on the same machine and I just changed the paths in respective Alias'es copied from that setup to the mounted fat32 drive's path and its working fine!! So I am really foxed why the other one's are not working with Alias.
Following are the things i have already checked in this regard:
1. The index files exist ( index.htm or index.php ) in all these Alias-es that give 403 error.
2. Permissions on the Alias'ed folders that give me the 403 error: i even did a chmod 777 on those folders, still no go
3. Earlier httpd was running with user nobody and group nogroup, I have changed that to user "webd" of group "webd", still getting the same error.
4. The <Directory > thing looks like this for all those Alias-es:
Alias /repos "/projects/www/fwebs/repos"
Options Indexes FollowSymLinks Includes ExecCGI
DirectoryIndex index.php index.php4 index.php3 index.html index.htm index.shtml index.phtml
Allow from all
Options, DirectoryIndex, AllowOverride, Order, Allow have the same values for all my aliases but some of them are working (from the mounted win32 partition) while others from the local system are not accessible (error 403, Forbidden).
I really don't get what's wrong here. Would be greatly appreciated if you clear some fog.
Thanks in advance,
Update: using XAMPP 1.7 (xampp-linux-1.7.tar.gz)