mattheu / MinQueue

WordPress Plugin: Minify and concatenate enqueued scripts and styles
60 stars 18 forks source link

Does not work if htaccess password #7

Closed mattheu closed 11 years ago

mattheu commented 11 years ago

Due to making a remote request... should be fixed by #10

alpipego commented 11 years ago

Unfortunately this is still not working for me. It works fine when on a live system but it does not when on a local install behind a htaccess authentication.

mattheu commented 11 years ago

Is that using the latest master here on github - haven't released to the WordPress.org plugin repository yet

alpipego commented 11 years ago

Jup. I used your githubs master.

mattheu commented 11 years ago

I'll look into it this evening

On Tuesday, 16 July 2013, alpipego wrote:

Jup. I used your githubs master.

— Reply to this email directly or view it on GitHubhttps://github.com/mattheu/MinQueue/issues/7#issuecomment-21064224 .

mattheu commented 11 years ago

I have tested the plugin on Apache with the site protected by htaccess authentication, and it seems to be working fine.

Would you be able to provide some more information?

alpipego commented 11 years ago

I'll be looking into it tomorrow in the office. Thanks.

westonruter commented 11 years ago

What if the script source could be checked to see if it is referencing a URL on its own site, i.e. one that is prefixed by home_url(). In such case, the URL could have the home_url() stripped off and gould get appended onto ABSPATH and then file_get_contents could be used instead of making an HTTP request altogether?

alpipego commented 11 years ago

Sorry for the delayed reply...

(There is no difference between v1.0.5 and v1.1) If you have any other idea why this is not working on our local server, I'd be glad to hear (and test) them.

alpipego commented 11 years ago

I realized that locally the cache folder is not created. It should be uploads/minqueue-cache/, right? If I create the folder manually it is deleted after a while (I couldn't really figure out when).

mattheu commented 11 years ago

Do you have any issues uploading images locally? Perhaps it is a permissions issue.

@westonruter - Thats a good suggestion. I will create a new issue for this.

alpipego commented 11 years ago

No. Everything else is working fine... And as I mentioned before the folders get deleted. So, no, I don't think it's a permission issue. Sorry...