2012-12-04 2 views
0

Joomla 2.5 용 SH404SEF 구성 요소를 설치했습니다. 내 라이브 사이트에서 작동하지만 localhost에서는 작동하지 않습니다.sh404sef가 로컬 호스트에서 작동하지 않습니다.

내 로컬 호스트에 mod_rewrite를 활성화하고 htaccess를 추가했습니다. 리디렉션되지 않고 404 오류가 발생합니다. 제발 도와주세요 enter image description here

답변

0
  • 파일이 is.htacsess 여부를 확인 그 후 줌라
  • 의 새로 설치
  • 만들기, 그렇지
  • 이 Sh404sef 의 제어판을 사용하여 Sh404sef 구성 요소를 .htaccess 파일을 만들고 마지막으로
  • 설치 SEF 프로세스를 시작
  • 당신은 결과를 수 볼 수 있습니다

htaccess로 샘플htaccess로 파일의 끝에

, 당신은 당신의 지원 @Yesceeohhh에 대한

## Begin - Joomla! core SEF Section. 
# 
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] 
# 
# If the requested path and file is not /index.php and the request 
# has not already been internally rewritten to the index.php script 
RewriteCond %{REQUEST_URI} !^/index\.php 
# and the request is for something within the component folder, 
# or for the site root, or for an extensionless URL, or the 
# requested URL ends with one of the listed extensions 
RewriteCond %{REQUEST_URI} /component/|(/[^.]*|\.(php|html?|feed|pdf|vcf|raw))$ [NC] 
# and the requested path and file doesn't directly match a physical file 
RewriteCond %{REQUEST_FILENAME} !-f 
# and the requested path and file doesn't directly match a physical folder 
RewriteCond %{REQUEST_FILENAME} !-d 
# internally rewrite the request to the index.php script 
RewriteRule .* index.php [L] 
# 
## End - Joomla! core SEF Section. 
0

shDefaultParams [ 'sh404SEF_USE_NON_STANDARD_PORT'변수를 변경하는 것이 좋습니다. 그것이 당신을 위해 일할 것 같아요.

+0

감사를 볼 수 있습니다. .htaccess 파일과 그 파일이 없어졌습니다. –

관련 문제