I'm currently using Dedicated server to test my zen cart website.
The temporary url i have been assigned is http://serverip/~username/.
I can access my website but if i click on any category i get server error. The following .htaccess file is for http://www.mydomain.com but here in this case a new folder ~username is compulsory to access the pages.
RewriteEngine On
# Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/admin.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors.* [NC]
# Don't rewrite cPanel directories
RewriteCond %{REQUEST_URI} !/cpanel.* [NC]
RewriteCond %{REQUEST_URI} !/frontend.* [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) index.php?%{QUERY_STRING} [L]
Please tell me what should be added to access the pages on dedicated server?
Bookmarks