Hello everybody, I've just setup a little home server on linux (ubuntu server). I have apache2 installed and working with php and my sql. Everything is working just fine but I've come across a little problem. I'm hosting a little website which has an admin page. I can login to this admin page and change all setting except for one, there is one page that allows me to create other pages, kind of like a dynamic website builder. I go through the motions of creating the page and typing the contents etc but when I click create, and page doesn't appear on the server. I recieve absolutely no error messages. I know other people who have this same script running and it works fine so it has to be a problem with my implementation. My suspicion is that the users logging on to my website don't have write permission but I have no idea how to change this. I've set the folder /var/www and all subfolders to chmod 777 but this hasn't done the trick. I have a couple of questions. Firstly, can you help me ? Secondly, when an anonymous user looks at my website, who does linux class this user to be? it's certainly not the root and it certainly isn't my linux user so I'd like to know that just out of interest. Well, if anybody can help me I'd be really grateful. Thank you very much. Regards, Rich.
When an anonymous user is using your site script to upload or create files, such files usually get apache permission. The things I would check there: 1. The script that is supposed to create such files MUST be chmod-ed to 755 , or else it will not work. 2. The folder where your script is supposed to create those files should be chmod-ed to 777. If that folder is /var/www then you should chmod your www folder to 777. If it is supposed to create files in some subfolder, then do not change chmod for www folder. Change it for that specific folder where those files should be created. 3. Check if your script that should create files is configured properly, and has the right path in it. It may happen that /var/www is just a virtual user path, and that it is not a real server path. So the point is.. make sure your path is correct.