CodeIgniter Forums
.htaccess + applet safety problem - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: .htaccess + applet safety problem (/showthread.php?tid=56090)

.htaccess + applet safety problem - El Forum - 11-26-2012

Hi, everyone, I added some lines in my htacess to avoid the annoying "index.php" needs. Everything is fine, but when I call some applets an insecure unsigned code appears. Outside codeigniter, or inside codeigniter without htacess that´s not happening. My .htacess is like that :

1 RewriteEngine on
2 RewriteCond %{REQUEST_FILENAME} !-f
3 RewriteCond %{REQUEST_FILENAME} !-d
4 #RewriteCond %{HTTP_REFERER} !^$ [NC]
5 RewriteRule ^(.*)$ index.php/$1 [QSA,L]

Some situations :

_If I comment line 5, the insecure message disappears, but obviously index.php needs to be added.
_If I uncomment line 4 the insecure message also disappears, but the site becomes very restrict, even refresh is forbidden.
_The insecure message is like: "Java has discovered application components that could indicate a security concern" "Block potentially unsafe components from being run?". If I decide by blocking (YES) applet works, but if I click at NO, some exceptions are thrown. For example:
One of my applets opens a PDF file, converts it to image and shows at Browser. I use third part .jar to do that and the error is : class javax.xml.parsers.FactoryConfigurationError-Provider <...>not found.
Another applet connects to WebService and the error is :
IllegalName &lt;html lang="pt-br" xml:lang="pt-br"

I know there is a way to configure warning java messages in Java Control Panel, but If it works outside CodeIgniter or without htaccess, I´d like it also works inside.


.htaccess + applet safety problem - El Forum - 01-08-2013


.htaccess + applet safety problem - El Forum - 05-28-2013

Hi all. I have similar problem. Anybody has some solutions or ideas about this situation?