Passing 401 header to phocagallery
Posted: 26 Jul 2011, 13:29
Hi.
Due to a recent hack of joomla, i have been forced to use .htaccess to secure the administrator folder of our installation.
This now causes the upload component to fail due to a 401 authorization error, as it appears that the JUpload component can't pass the cookies from the browser.
From looking at this post:
http://sourceforge.net/projects/jupload ... ic/3758946
it looks like i can pass the base 64 token to the jupload applet via the applet parameters, but i'm not sure quite how and in in which php page inside the phocagallery component to do this in?
Hope you can help
Best Wishes
Richard Cannock
Due to a recent hack of joomla, i have been forced to use .htaccess to secure the administrator folder of our installation.
This now causes the upload component to fail due to a 401 authorization error, as it appears that the JUpload component can't pass the cookies from the browser.
From looking at this post:
http://sourceforge.net/projects/jupload ... ic/3758946
it looks like i can pass the base 64 token to the jupload applet via the applet parameters, but i'm not sure quite how and in in which php page inside the phocagallery component to do this in?
Hope you can help
Best Wishes
Richard Cannock