PDA

View Full Version : need help allowing attachments


red
12-14-2007, 08:28 PM
hi, I am trying to set up the system to allow attachments.
I set up a directory with permissions - was I supposed to do this in the "support" folder?
I keep getting the error "invalid upload dir" and "directory must be valid and writeable

peter
12-14-2007, 09:39 PM
It is advisable to have attachment directory outside the web server's path. i.e DocumentRoot directory. Make sure the directory is writable by the web user.

isaBERLIN
12-15-2007, 12:20 AM
Same problem here ...

root@server8~# mkdir /var/www/web1/files
root@server8~# chmod -R 777 /var/www/web1/files

and adding /var/www/web1/files

http://img1.getpic.info/MTUxMjA3/268cattach.png

but attachments are not stored

Piping rawemail per commandline using pipe.php doesn't work as well

Ebonhand
12-30-2007, 02:45 PM
Hi everyone,

I think I've solved this, details in another thread:

http://www.osticket.com/forums/showthread.php?t=86

Kind regards,
Ebonhand

Zoidberg
02-11-2008, 06:21 AM
It is advisable to have attachment directory outside the web server's path. i.e DocumentRoot directory. Make sure the directory is writable by the web user.

Sometimes You want to allow Your staff to browse the attachment directory online, but restrict access to everyone else.

How about we use a .htaccess file instead (http://www.osticket.com/forums/showthread.php?p=1417)?