공유 호스트에 자체 위빙 서버를 설치하려고하면 분명히 httpd.conf 파일을 수정할 수 없으므로 다시 쓰기 모듈과 .htaccess를 사용하여 해결 방법을 찾으려고합니다. .httpd.conf의 별칭 대신 .htaccess에서 다시 쓰기 사용
여기 문서를 바탕으로 https://wiki.mozilla.org/Labs/Weave/Sync/1.1/Setup및 https://wiki.mozilla.org/Labs/Weave/User/1.0/Setup 내가 대신
Alias /1.0 <full path to weave directory>/server-sync/1.1/index.php
Alias /1.1 <full path to weave directory>/server-sync/1.1/index.php
Alias /user/1.0 <full path to weave directory>/weaveserver-registration/1.0/index.php
Alias /user/1 <full path to weave directory>/weaveserver-registration/1.0/index.php
의 의 .htaccess에게
RewriteEngine on
RewriteRule ^1.1(.*) server-sync/1.1/index.php/$1 [L]
RewriteRule ^1.0(.*) server-sync/1.0/index.php/$1 [L]
RewriteRule ^user/1.0(.*) weaveserver-registration/1.0/index.php/$1 [L]
RewriteRule ^user/1(.*) weaveserver-registration/1.0/index.php/$1 [L]
을 만들었지 만 나는 일을 가져올 수 없습니다. 난 항상이 재 작성 규칙이 올바른지 가
파이어 폭스 4에 동기화 URL로 유효한 서버 URL I 설정 "http://www.mydomain.com/dir/weave"를 입력하십시오거야? 내 호스팅 스크립트/ 디렉토리 구조 : 그래서 직조 - 서버 설정 설정 prob는 할 수있는 경우
/home/myname/www/dir/weave/.htaccess
/home/myname/www/dir/weave/server-sync > weave server scripts
/home/myname/www/dir/weave/weaveserver-registration > weave server user scripts
예. 위브 파일 요청 구조도 잘 모릅니다. 이미 첫 코드에서 사용했습니다. 다시 같은 오류가 발생합니다. 그래서 내 재 작성 코드가 잘되어야한다고 생각하니? – Pi3cH