0

如果我使用 clicktag 参数,它可以正常工作,但是当 flash 文件不使用 clicktag 时,它会出错并且 codeigniter 尝试(在单击横幅后)加载一些 url,例如:

http://mywebsite.com/hardcodedaddressinflash.com 

而不仅仅是:

http://hardcodedaddressinflash.com 

如果它是纯 html 或 php 文件(不使用 CodeIgniter),它会很好用。

我想我必须在 codeigniter 的 .htaccess 中为 swf 文件设置一些东西才能直接转到硬编码 URL 指向的位置,但是如何?

有什么建议吗?

我尝试过 swgobject 并直接嵌入 swf 代码,但都给出了相同的结果。

但不知何故,如果我使用 clicktag 它工作正常。我完全不明白。

编辑:我的 .htaccess 文件如下所示:

RewriteEngine On

RewriteBase /

#Removes access to the system folder by users.

#Additionally this will allow you to create a System.php controller,

#previously this would not have been possible.

#'system' can be replaced if you have renamed your system folder.

RewriteCond %{REQUEST_URI} ^system.*

RewriteRule ^(.*)$ /index.php?/$1 [L]



#Checks to see if the user is attempting to access a valid file,

#such as an image or css document, if this isn't true it sends the

#request to index.php

RewriteCond %{REQUEST_FILENAME} !-f

RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ index.php?/$1 [L]



# If we don't have mod_rewrite installed, all 404's

# can be sent to index.php, and everything works as normal.

# Submitted by: ElliotHaughin


ErrorDocument 404 /index.php
4

0 回答 0