Xampp & Apache: Alias 'access denied?

Apache needs to be able to : Read from your /home/luke/PHP directory -- you already allowed that, aparently Traverse the directories which are parents of that directory. Typically, you'll have to give the execution permission to others (which means they'll be able to traverse that directory, to go to its children), on your home directory : chmod o+x /home/luke Of course (especially in a multi-user environment), you'll then have to make sure that other users cannot access your other directories and files -- typically by removing all privileges that group and other could have on directories/files under your home directory.

I changed the execution-permission like you showed, still Apache won't open the files in the PHP-folder. – Lukas Knuth Apr 24 at 17:05 1 @Lukas Knuth : you might have to change permissions recursively for both files and directories like: find /home/luke -type f chmod 644 {} \; find /home/luke -type d chmod 755 {} \; and make sure they belong to the apache user. Assuming the apache user and group is set to "nobody" within your apache config file and existing on your system: chown -R nobody:nobody /home/luke – hornetbzz Apr 25 at 15:11 Sorry for getting back on this just now, but I was in holiday without my machine ;).

Apache is running under the "http"-User and Group. If I change the owner of my 'PHP'-Directory (using chown) I can't write the files in there. I thought, setting the folders mode to 777, so anyone can write in it would fix that... – Lukas Knuth May 3 at 19:15.

I fixed my issue by configuring the Alias like shown above, but setting the Apache's user to my user ("luke") and leaving the Group out: # User/Group: The name (or #number) of the user/group to run httpd as. # It is usually good practice to create a dedicated user and group for # running httpd, as with most system services. User luke #Group http After that I changed the owner of the htdocs- and the PHP-Directory to my user (luke) and restarted LAMPP.

Now everything works fine. Also thanks to Pascal MARTIN and hornetbzz!

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions