Skip to content
This repository was archived by the owner on Nov 25, 2018. It is now read-only.

Commit c579dc6

Browse files
author
valdeir2000
committed
Install OpenCart 2.0.x
1 parent eec91bc commit c579dc6

File tree

2,513 files changed

+358497
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,513 files changed

+358497
-0
lines changed

.htaccess.txt

+54
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# 1.To use URL Alias you need to be running apache with mod_rewrite enabled.
2+
3+
# 2. In your opencart directory rename htaccess.txt to .htaccess.
4+
5+
# For any support issues please visit: http://www.opencart.com
6+
7+
Options +FollowSymlinks
8+
9+
# Prevent Directoy listing
10+
Options -Indexes
11+
12+
# Prevent Direct Access to files
13+
<FilesMatch "(?i)((\.tpl|\.ini|\.log|(?<!robots)\.txt))">
14+
Order deny,allow
15+
Deny from all
16+
</FilesMatch>
17+
18+
# SEO URL Settings
19+
RewriteEngine On
20+
# If your opencart installation does not run on the main web folder make sure you folder it does run in ie. / becomes /shop/
21+
22+
RewriteBase /
23+
RewriteRule ^sitemap.xml$ index.php?route=feed/google_sitemap [L]
24+
RewriteRule ^googlebase.xml$ index.php?route=feed/google_base [L]
25+
RewriteRule ^system/download/(.*) /index.php?route=error/not_found [L]
26+
RewriteCond %{REQUEST_FILENAME} !-f
27+
RewriteCond %{REQUEST_FILENAME} !-d
28+
RewriteCond %{REQUEST_URI} !.*\.(ico|gif|jpg|jpeg|png|js|css)
29+
RewriteRule ^([^?]*) index.php?_route_=$1 [L,QSA]
30+
31+
### Additional Settings that may need to be enabled for some servers
32+
### Uncomment the commands by removing the # sign in front of it.
33+
### If you get an "Internal Server Error 500" after enabling any of the following settings, restore the # as this means your host doesn't allow that.
34+
35+
# 1. If your cart only allows you to add one item at a time, it is possible register_globals is on. This may work to disable it:
36+
# php_flag register_globals off
37+
38+
# 2. If your cart has magic quotes enabled, This may work to disable it:
39+
# php_flag magic_quotes_gpc Off
40+
41+
# 3. Set max upload file size. Most hosts will limit this and not allow it to be overridden but you can try
42+
# php_value upload_max_filesize 999M
43+
44+
# 4. set max post size. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
45+
# php_value post_max_size 999M
46+
47+
# 5. set max time script can take. uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
48+
# php_value max_execution_time 200
49+
50+
# 6. set max time for input to be recieved. Uncomment this line if you have a lot of product options or are getting errors where forms are not saving all fields
51+
# php_value max_input_time 200
52+
53+
# 7. disable open_basedir limitations
54+
# php_admin_value open_basedir none

admin/config-dist.php

Whitespace-only changes.

0 commit comments

Comments
 (0)