XUpload - Additional information for SELinux

Posts: 4
Joined: May 26, 2008 6:31 pm

Additional information for SELinux

#1 Postby Silverado » Jun 02, 2008 3:20 am

My uploader wasn't displaying the Transfer window correctly.

I had moved the temp folder outside of the /var/www/ directory and have SELinux enabled.

I did this to the temp directory and the file directory so that files will upload correctly.

chcon -R -u system_u -t httpd_sys_content_t /storage

which is where the temp directory and files directory are.

I then checked the http://www.MYWEBSITE.com/upload.cgi and it worked.

If it doesn't work, it will throw an error about not finding flength file.

Hope this helps others.

User avatar
Posts: 2186
Joined: Mar 22, 2006 1:39 pm

#2 Postby PilgrimX182 » Jun 02, 2008 6:38 am

Thanks! Will now add to our solutions list.