codeigniter a phpframework에서 프로젝트를 개발했습니다. xampp이 실행중인 내 localhost에서 완벽하게 작동합니다. 하지만 지금은 클라이언트가 IIS Windows 서버에서 원합니다. 내 전체 프로젝트를 "wwwroot"폴더에 업로드했으며 시작 페이지 만 볼 수 있습니다. 그러나 어떤 링크를 클릭하려고하면 :HTTP 오류 404.0 - 찾을 수 없음 찾고있는 리소스가 제거되었거나 이름이 변경되었거나 일시적으로 사용할 수 없습니다.
HTTP 오류 404.0 - 찾을 수 없음 찾고있는 리소스가 삭제되었거나 이름이 변경되었거나 일시적으로 사용할 수 없습니다..
server: IIS7
O/S: Windows7-64bit
환경 : 내 자신의 노트북에들이받은
업데이트 : 여기 내 htaccess로 파일 여기
는 여기 http://www.flickr.com/photos/[email protected]/12790173834/내 서버 구성되는 이미지를 보여주기 위해 내 문제 링크입니다 구성 -
<IfModule mod_rewrite.c>
# Turn on URL rewriting
RewriteEngine On
# If your website begins from a folder e.g localhost/my_project then
# you have to change it to: RewriteBase /my_project/
# If your site begins from the root e.g. example.local/ then
# let it as it is
RewriteBase /mobile_masala/
# Protect application and system files from being viewed when the index.php is missing
RewriteCond $1 ^(application|system|private|logs)
# Rewrite to index.php/access_denied/URL
RewriteRule ^(.*)$ index.php/access_denied/$1 [PT,L]
# Allow these directories and files to be displayed directly:
RewriteCond $1 ^(index\.php|robots\.txt|favicon\.ico|public|assets|css|js|images)
# No rewriting
RewriteRule ^(.*)$ - [PT,L]
# Rewrite to index.php/URL
RewriteRule ^(.*)$ index.php/$1 [PT,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>
코드 점화 장치는 대개 URL에 index.php가 있습니다. 귀하의 링크에는 보이지 않습니다. htaccess를 추가 한 경우 공유하십시오. – nightgaunt
내 htaccess 파일을 공유합니다. 내 업데이트 된 질문을 참조하십시오. –