Hi
Am trying to install CS cart 4.2.4 on an VPS server
I have not added a domain to it yet, but am using an IP address see below “Store Url” since I would like to install a fresh copy of CS cart, and new design before changing the name server from my old host.
I have seen this error message multiple time on the forum.
changing the .htaccess file an so on, but no luck.
Maybe you can help.
Error message
Server configuration
× The URL rewrite engine is disabled. Subpath-based storefront URLs will not work
Store URL
http://103.226.176.14/~rvadmin
Errorlog
/home/rvadmin/public_html/app/Tygh/Bootstrap.php on line 58
[29-Nov-2014 22:55:26 UTC] PHP Warning: ini_set() has been disabled for security reasons in /home/rvadmin/public_html/config.local.php on line 23
htaccess file in PUBLIC_HTML
DirectoryIndex index.html index.php
AddEncoding gzip .gz
RewriteCond %{REQUEST_FILENAME} .(js|css)$
RewriteCond %{HTTP:Accept-encoding} gzip
RewriteCond %{REQUEST_FILENAME}.gz -f
RewriteRule ^(.)$ $1.gz [QSA,L]
Header unset ETag
FileETag None
ExpiresActive On
ExpiresDefault “access plus 1 year”
ForceType text/css
Header set Content-Encoding: gzip
Header set Cache-control: private
Header unset ETag
FileETag None
ExpiresActive On
ExpiresDefault “access plus 1 year”
ForceType text/javascript
Header set Content-Encoding: gzip
Header set Cache-control: private
Header set Access-Control-Allow-Origin "
RewriteEngine on
Please note that RewriteBase setting is obsolete use it only in case you experience some problems with SEO addon.
Some hostings require RewriteBase to be uncommented
Example:
Your store url is http://www.yourcompany.com/store/cart
So “RewriteBase” should be:
RewriteBase /store/cart
RewriteBase /
Options -MultiViews
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_URI} ^api/(.)$ [or]
RewriteCond %{REQUEST_URI} ./api/(.)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .api/(.)$ api.php?_d=$1&ajax_custom=1 [L,QSA]
RewriteCond %{REQUEST_URI} .(png|gif|ico|swf|jpe?g|js|css|ttf|svg|eot|woff|yml|xml)$ [or]
RewriteCond %{REQUEST_URI} store_closed.html$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.?)/(.*)$ $2 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . index.php [L,QSA]
HTACCESS in /Install
DirectoryIndex index.php
RewriteEngine on
Pleas note that RewriteBase setting is obsolete use it only in case you experience some problems with SEO addon.
Some hostings require RewriteBase to be uncommented
Example:
Your store url is http://www.yourcompany.com/store/cart
So “RewriteBase” should be:
RewriteBase /store/cart
RewriteBase /
RewriteCond %{REQUEST_URI} .*mod_rewrite$
RewriteRule . index.php [L,QSA]
Thanks for your help