2014-02-26 3 views
1

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> 
+0

코드 점화 장치는 대개 URL에 index.php가 있습니다. 귀하의 링크에는 보이지 않습니다. htaccess를 추가 한 경우 공유하십시오. – nightgaunt

+0

내 htaccess 파일을 공유합니다. 내 업데이트 된 질문을 참조하십시오. –

답변

0

C : \ WINDOWS \ system32 \ inetsrv \ iis.msc에서 IIS 관리 콘솔을 엽니 다. 웹 사이트로 이동하여 마우스 오른쪽 버튼을 클릭하고 속성을 선택하십시오. 홈 디렉터리 탭을 선택한 다음 구성 단추를 클릭하십시오. 매핑 탭을 선택하십시오. 확장자가 .php로 표시되지 않으면 추가 버튼을 클릭하십시오. PHP 5 DLL (C : \ Program Files \ PHP \ php5isapi.dll에있을 수 있음)을 찾습니다. Extension 필드에 .php를 입력하고 나머지는 모두 기본값으로 둡니다. 확인을 클릭하십시오. 확장 프로그램과 실행 파일 경로가 채워지고 동사 아래에 '모두'가 표시됩니다.

+2

웹 사이트 드릴 다운 방법을 마우스 오른쪽 버튼으로 클릭하고 속성을 선택 하시겠습니까? –

관련 문제