synergywei
IS-IT--Management
I've posted this question in the general Linux forum and someone suggested that I may also post in the apache web server forum. this question is a mix of media wiki and apache web server
I'm having issue with media wiki image upload folder permission. when uploading an image, media wiki is not doing anything, apache server is one that grab the image and writes to the folder /var/ Am i understaning this correctly?
I'm running:
media wiki 1.15
mysql Ver 14.14 Distrib 5.1.48
Apache/2.2.16 (Unix)
php version 5.3.3 OS: F
Linux 2.6.34.6-54.fc13.i686.PAE
I got error message "The upload directory (public) is not writable by the webserver."
I'd like to know
1. which folder is the image uploader tries write to? Is it the 'images' folder located in /var/ ? /var/ is my default web folder.
2. I have already set the folder and sub folder permission for 'images' to 777, but i still can't upload anything. the folder is owned by root but 777 should allow anyone to write anything to it?
I've confirmed that apache server is running as apache of group apache. i've changed ownership of the folder 'images' to apache and folder permission to 777 starting from /var/ --> wiki --> images --> all sub-folders, but still not working.
there is no variable $wgUploadPath in LocalSettings.php, I added it in with the path /var/ still not working.
I created a password for user apache and 'su' as apache. I got this error message:
[luw@southpole images]$ su apache
Password:
This account is currently not available.
Could this be the root of the problem? how do i fix it?
many thanks.
Lu
I'm having issue with media wiki image upload folder permission. when uploading an image, media wiki is not doing anything, apache server is one that grab the image and writes to the folder /var/ Am i understaning this correctly?
I'm running:
media wiki 1.15
mysql Ver 14.14 Distrib 5.1.48
Apache/2.2.16 (Unix)
php version 5.3.3 OS: F
Linux 2.6.34.6-54.fc13.i686.PAE
I got error message "The upload directory (public) is not writable by the webserver."
I'd like to know
1. which folder is the image uploader tries write to? Is it the 'images' folder located in /var/ ? /var/ is my default web folder.
2. I have already set the folder and sub folder permission for 'images' to 777, but i still can't upload anything. the folder is owned by root but 777 should allow anyone to write anything to it?
I've confirmed that apache server is running as apache of group apache. i've changed ownership of the folder 'images' to apache and folder permission to 777 starting from /var/ --> wiki --> images --> all sub-folders, but still not working.
there is no variable $wgUploadPath in LocalSettings.php, I added it in with the path /var/ still not working.
I created a password for user apache and 'su' as apache. I got this error message:
[luw@southpole images]$ su apache
Password:
This account is currently not available.
Could this be the root of the problem? how do i fix it?
many thanks.
Lu