Reputation
245
Top tag
Next privilege 250 Rep.
View close votes
Badges
4 19
Impact
~27k people reached

  • 0 posts edited
  • 0 helpful flags
  • 41 votes cast
Dec
18
comment Faster Option: Redirect via PHP to PHP or Apache mod rewrite redirect to PHP?
Very interesting Chronos! +1. on my shared hosting no virtual host is permitted. before i use apache redirect, which i will do, i want to first try you advise for php method: i have now this in my index.php switch($_SERVER["HTTP_HOST"]){ case "website.com": header('HTTP/1.1 301 Moved Permanently'); header('Location: /english/home'); case ... etc ?> How to i cache all the output,and then destroy the cached output? which code does that? Thanks!
Dec
18
comment Fastest loading: Redirect with header location in PHP, or Rewrite with Apache?
Thanks MS, +1, sounds too good to be true, on shared hosting with plesk 8.2 and usual privileges? Will give it a try now.
Dec
17
asked Fastest loading: Redirect with header location in PHP, or Rewrite with Apache?
Dec
17
comment url rewrite to make generated thumnails cache like static, a syntax question
Dear DerfK! Astoungly clever as well as Creative options to solve my problem, from the php point of view. I will give your optiona s try! meanwhile the easiest would be (since as you said we are so far with the apache rewrite method) to fix that, but i will give both a try and check back soon here!
Dec
17
revised Does is matter in what order rules are placed in htaccess?
deleted 1180 characters in body
Dec
16
accepted Does is matter in what order rules are placed in htaccess?
Dec
16
accepted How to enable `Keep Alive` in a shared hosting environment?
Dec
16
comment How to enable `Keep Alive` in a shared hosting environment?
I see.. Bummer! But, is it likely virtual / shared hosters will enable it from a customers request? ( i have put on my naive trousers on for now )
Dec
16
asked How to enable `Keep Alive` in a shared hosting environment?
Dec
16
comment Lazy Conditional Rule not doing anything! Why?
@Dennis, a look into my current htaccess file: perhaps this will shed some light into the matter: serverfault.com/questions/213191/…
Dec
16
asked Does is matter in what order rules are placed in htaccess?
Dec
16
comment Lazy Conditional Rule not doing anything! Why?
@Dennis, thats very cool, some information on the errors would be highly valuable. How and where do i exactly set those in my htaccess?
Dec
16
comment Lazy Conditional Rule not doing anything! Why?
Hi Dennis, interesting. I see, its just another Does the entire chain group of rules apply to each of the files ( in this case images ) that want to be rewritten, right? I did apply [C] on all except last rule with the unelegant reqritecode above but failed. should it be [C,L] or sometin else?
Dec
15
comment Lazy Conditional Rule not doing anything! Why?
Hello dmah, thanks for your suggestion, BUT, after changing the old cond to new cond, and changing IMG to MUFFINTOPS the rewrite rules still all fire correctly... i dont get it!
Dec
15
comment Lazy Conditional Rule not doing anything! Why?
Thanks Dennis for the graph. So, if i understand correctly, there is no speed gain? it will check every single REwriteRule anywayz?
Dec
15
comment Zlib Compression and Deflate compression. how to use correctly in htaccess?
I seee.. Thanks very much Silviud!
Dec
15
accepted Zlib Compression and Deflate compression. how to use correctly in htaccess?
Dec
15
comment Zlib Compression and Deflate compression. how to use correctly in htaccess?
Thanks Silviud, but why use ZLIB when one can just add the php extension into the DEFLATE paragraph? Is ZLIB faster than DEFLATE for php files? if so, how to define other php content extensions to work with ZLIB? for example if a js or css file containing php code should also be ZLIBBED
Dec
15
asked Zlib Compression and Deflate compression. how to use correctly in htaccess?
Dec
15
asked Lazy Conditional Rule not doing anything! Why?