benjamin-vauchel / SmartOptimizer

This extra is a MODx version of SmartOptimizer by Ali Farhadi (http://farhadi.ir/works/smartoptimizer), a PHP library that enhances your website performance by optimizing the front end using techniques such as minifying, compression, caching, concatenation and embedding.
5 stars 0 forks source link

does not work for sub domain? #5

Closed goldsky closed 12 years ago

goldsky commented 12 years ago

looks like the controller does not work for sub domain. no matter using snippet or .htaccess. or am I missing something?

goldsky commented 12 years ago

I found the problem, it was the .htaccess file inside the assets/components/smartoptimizer/ folder that repelled back the connection to the connector.php.

but, what was it all about?

benjamin-vauchel commented 12 years ago

The ht.access in assets/components/smartoptimizer/ is an example of .htaccess. It must not be enabled in this directory but in your modx base path.

goldsky commented 12 years ago

There is ht.access which is the example. There is .htaccess which is I'm asking. https://github.com/omycode/SmartOptimizer/tree/master/assets/components/smartoptimizer