Welcome Guest, Not a member yet? Register   Sign In
Bizarre! - empty image causes reload of default controller
#2

[eluser]WanWizard[/eluser]
Not strange. Every image in your HTML page is another request to the server.

The requests hits your rewrite rules, which can't match any exclusion rule (since you are requesting an image without source, meaning the current URL), so it gets rewritten to index.php, causing a second request.

Code your output properly (empty image tags are an error that needs to be fixed). With most .htaccess examples posted here you will have the same problem if you try to load an image that doesn't exist.


Messages In This Thread
Bizarre! - empty image causes reload of default controller - by El Forum - 09-08-2010, 05:10 PM



Theme © iAndrew 2016 - Forum software by © MyBB