Problems entering from Google Viewer

Topics: Developer Forum, Project Management Forum, User Forum
Sep 1, 2011 at 1:04 AM

Hello, i have IIRF installed on http://biblioteca.koru.cl/ but,

I can enter to
http://biblioteca.koru.cl/wp-content/uploads/2011/08/ENCA-minsal-2010-2011.ppt

but it doesn't work with
https://docs.google.com/viewer?url=biblioteca.koru.cl/wp-content/uploads/2011/08/ENCA-minsal-2010-2011.ppt

neither
https://docs.google.com/viewer?url=biblioteca.koru.cl/wp-content/uploads/2011/08/ENCA-minsal-2010-2011.ppt&embedded=true

I don't know nothing about code, what should i add to mi IIRF.ini? Now i have this:

RewriteEngine ON

#Change the following to your renamed system folder path:
RewriteRule ^/wp-content/(.*)$ /wp-content/$1 [I,L]

#Rewrite wpcontent path (stylesheet, images, admin)
RewriteRule ^/wp-(.*) /wp-$1 [I,L]

# do not rewrite requests for stylesheets or image files
RewriteRule ^/(css|img)/(.*)$ - [L,I]

#This allows querystring to be added to the url (like {path=logout} )
RewriteRule /(.*)\?(.*)$ /index.php\?q=$1&$2 [I,L]

#This removes index.php? from the urls
RewriteRule ^/(.*)$ /index.php?/$1 [I,L] 

Coordinator
Sep 1, 2011 at 2:54 PM

I don't know google viewer.  I guess when you visit docs.google.com/something , it send sa request to your server?

But ... what I suggest is that you look in the IIRF.ini file, to determine the incoming URL from google. Then you'll be able to determine the rules you want to use for those requests.