Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Rewrite rule for apache.conf rather than .htaccess
 
bearslovehoney
Jr. Member
 
Avatar
Total Posts:  22
Joined:  2009-01-17
 

For performance reasons .htaccess files are disbled on my server, so all the rewrites are done in the apache.conf.

Can anyone clarify what the correct rule should be?

I’m trying

RewriteEngine On


############################################
## Compress, Combine and Cache Javascript/CSS
    
RewriteRule ^([^/]+)(/.*.(js|css))$ /lib/minify/m.php?f=$2&d;=$1 [L]
but no dice (gives 404).

Thanks for you help.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top