Hi guys ’n’ gals!
First of all, thank you OnO: your script looks great! But I do have a quite big problem: the files don’t download, it just refreshes the page. They do list in the filedownload plugin! I already reinstalled both the FileDownload snippet and your plugin, following instructions closely to be sure I didn’t f*** smthn up there
Anyway, the other stuff I tested:
-disabled Friendly URL’s altogether & reset .htaccess;
-tried completely without .htacess;
-put FileDownloadPlugin on top of execution list @ webpageprerender. When that didn’t worked out I:
-disabled all other plugins executing at onwebpageprerender;
-tried both in and outside ’public_html’-folder;
-chmod 777 on both files and directories;
-tried the value both with and without trailing slash in FileDownloadFolder TV;
-tried both large (about 7MB) as small files (approx 7KB).
-both in IE6 as in FF3 same results..
err.. guess I tried some more, can’t remember what else
To get things straight: I don’t have to fiddle with the .htaccess when I use this plugin without friendly URLS, correct?
Does anyone know what else I got to do to get this up and running? I also want to use this with SSL, any tips and tricks on that beforehand? I want everything as secure as possible, both because I’m paranoid like hell and because of the files hosted here are a matter of national security. Gonna install captcha’s @ login too
Thank you in advance,
noes
Oh by the way: server info:
MODx version 0.9.6.1p2
Version codename rev 3281
PHP Version 5.2.3
Apache Version Apache/1.3.37 (Unix) PHP/5.2.3 mod_ssl/2.8.28 OpenSSL/0.9.8a mod_perl/1.29 FrontPage/5.0.2.2510
Loaded Modules mod_suphp, mod_php5, mod_security, mod_ssl, mod_perl, mod_frontpage, mod_setenvif, mod_so, mod_headers, mod_expires, mod_auth_anon, mod_auth, mod_access, mod_rewrite, mod_alias, mod_userdir, mod_actions, mod_imap, mod_asis, mod_cgi, mod_dir, mod_autoindex, mod_include, mod_info, mod_status, mod_negotiation, mod_mime, mod_log_referer, mod_log_agent, mod_log_config, mod_env, mod_vhost_alias, http_core
Configure Command ’./configure’ ’--with-apxs’ ’--with-imap=/usr/local/imap-2000e’ ’--with-freetype’ ’--with-freetype-dir=/usr/local/lib’ ’--with-curl’ ’--with-curl-dir=/usr/local/lib’ ’--with-gd’ ’--with-gd-dir=/usr/local’ ’--with-gettext’ ’--with-jpeg-dir=/usr/local/lib’ ’--with-kerberos’ ’--with-mcrypt’ ’--with-mhash’ ’--with-mysql=/usr’ ’--with-pear’ ’--with-png-dir=/usr/local/lib’ ’--with-xml’ ’--with-zlib’ ’--with-zlib-dir=/usr/local/lib’ ’--with-zip’ ’--with-iconv=/usr/local/lib’ ’--with-dom=/usr/lib’ ’--with-dom-exslt=/usr/lib’ ’--with-dom-xslt=/usr/lib’ ’--enable-exif’ ’--enable-xslt’ ’--with-xsl=/usr/lib’ ’--with-openssl’ ’--enable-bcmath’ ’--enable-calendar’ ’--enable-ftp’ ’--enable-magic-quotes’ ’--enable-sockets’ ’--enable-track-vars’ ’--enable-mbstring’ ’--enable-memory-limit’
I hope I supplied you with enough information, please let me know if you need some more!