CI "system"폴더의 같은 수준에서 폴더를 만들 수 있어야하며 거기에 모든 상점 파일을 복사 할 수 있습니다. 그런 다음 domain.com/shop/을 통해 상점에 액세스하십시오.
기본 .htaccess 파일이 이미있는 경우 라우팅이나 .htaccess 규칙을 변경하지 않아도됩니다. CI URL. 여러 사이트에서이 작업을 수행하고 있으며 정상적으로 작동합니다.
편집 : 여기 지금 당신이 언급 미세
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase/
redirect 301 /disclaimer/disclaimer.html /disclaimer.html
#Removes access to the system folder by users.
#Additionally this will allow you to create a System.php controller,
#previously this would not have been possible.
#'system' can be replaced if you have renamed your system folder.
RewriteCond %{REQUEST_URI} ^system.*
RewriteRule ^(.*)$ /index.php?/$1 [L]
#Checks to see if the user is attempting to access a valid file,
#such as an image or css document, if this isn't true it sends the
#request to index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#special rule to allow the 301 redirect from above
RewriteCond %{REQUEST_URI} !disclaimer/disclaimer.html$
RewriteRule ^(.*)$ index.php?/$1 [L]
</IfModule>
<IfModule !mod_rewrite.c>
# If we don't have mod_rewrite installed, all 404's
# can be sent to index.php, and everything works as normal.
# Submitted by: ElliotHaughin
ErrorDocument 404 /index.php
</IfModule>
#####################################################
# CONFIGURE media caching
#
Header unset ETag
FileETag None
<FilesMatch "(?i)^.*\.(ico|flv|jpg|jpeg|png|gif|js|css)$">
Header unset Last-Modified
Header set Expires "Fri, 21 Dec 2012 00:00:00 GMT"
Header set Cache-Control "public, no-transform"
</FilesMatch>
#
#####################################################
<IfModule mod_deflate.c>
<FilesMatch "\.(js|css)$">
SetOutputFilter DEFLATE
</FilesMatch>
</IfModule>
을 작동하는 사이트 내 전체 htaccess로 파일이, 내 앞에서 사람이 htaccess로 파일을 넣어하지 않음으로써 그것을 작동하는 것 같다되지 않고있다 index.php를 URI에서 .... 그는 어려운 방법을 수행해야합니다 ... ok를 시도해보십시오. .htaccess를 넣고 여기에 뭔가 빠졌는지 확인하십시오 .... 돌아 가기 – Dreamee
아니요 .. 그게 나던 일이 ..... ..... Im going crazay! – Dreamee
내 .htaccess 파일의 내용을 참조하십시오. 어떤 오류가 있습니까? – stef