hi to all,
all day long I tried to run the damned thing:confused: …When I copy/paste SO .htaccess to the CS Cart one, it brakes my CSS and JS.
- SO is installed in the store directory where var, skins, etc. folders are
- File Permissions of SO are set to 644 for files, 755 for folders and 777 for cache
- I have cleared the cache of CS Cart after the installation of SO. Strange is that the cache folder of SO is empty even I play with the website.
Please help me with any ideas.
Here is how looks like my .htaccess after pasting the code of SO within it:
DirectoryIndex index.html index.php
ExpiresActive On
ExpiresDefault “access plus 10 years”
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(..(js|css))$ smartoptimizer/?$1
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(..(js|css|html?|xml|txt))$ smartoptimizer/?$1
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^(.*.(gif|jpg|jpeg|png|swf|css|js|html?|xml|txt))$ smartoptimizer/?$1
FileETag none
RewriteEngine on
Some hostings require RewriteBase to be uncommented
Example:
Your store url is [url]http://www.yourcompany.com/store/cart[/url]
So “RewriteBase” should be:
RewriteBase /store/cart
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !.(png|gif|ico|swf|jpe?g|js|css)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php?sef_rewrite=1 [L,QSA]
RewriteCond %{REQUEST_FILENAME} ./catalog/.
RewriteCond %{REQUEST_FILENAME} -d
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteRule . index.php?sef_rewrite=1 [L,QSA]
For security reasons, Option all cannot be overridden.
#Options All -Indexes
Options ExecCGI Includes IncludesNOEXEC IncludesNOEXEC MultiViews SymLinksIfOwnerMatch Indexes -Indexes