Welcome Guest, Not a member yet? Register   Sign In
.htaccess + applet safety problem
#1

[eluser]Unknown[/eluser]
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 :
"NoClassDefFoundError
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.

Thanks!
#2

[eluser]aseolin[/eluser]
UP
#3

[eluser]Unknown[/eluser]
Hi all. I have similar problem. Anybody has some solutions or ideas about this situation?




Theme © iAndrew 2016 - Forum software by © MyBB