Post by alexmitev » Fri Aug 26, 2011 1:52 am

I was building a traffic monitor and I noticed that ALL file requests (e.g. jpg/gif/txt) go through the index.php file, which is quite CPU consuming for the server.

IMHO the .htaccess should route files like this:
- direct acess to all jpg, gif, png, ico, bmp, js, txt, css files (maybe I'm missing some more types?)
- block acess to tpl, (not sure if blocking access to php files is also required?)
- all other requests should go through index.php

So, the question is how to implement this in the .htaccess file? Or maybe someone has already done this?

New member

Posts

Joined
Wed Jan 19, 2011 10:38 pm

Post by IP_CAM » Thu Nov 29, 2018 11:27 am

Well, it seemengly took a lot of time, to recover from the Posting below ::)
but with a 'burdon' like this, it might be hard for them to judge on, whether
you qualify or not as Seller, since you left not much other traces since.
Just to have replied on this, since nobody here has any influence on such.
Good Luck, no offense ... ;)
Ernie
viewtopic.php?f=161&t=44940&p=217052#p217210

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 78 guests