Raspbian Firefox 동기화 서버 - URL을 찾을 수 없음

Raspbian Firefox 동기화 서버 - URL을 찾을 수 없음

내 Raspbian(커널 버전 3.10)에서 Apache 2와 함께 자체(로컬) firefox-sync 서버를 만들려고 하는데, firefox-sync가 내가 지정한 URL("ffsync.mraspberrypi.com")에 대해 불평합니다!

내가 뭘 한거지:


1) 먼저 나는 이것을 따른다지도 시간Firefox 동기화 서버 설정용(정보: 원하는 목적에 맞게 폴더 이름을 "syncserver"에서 "ffsyncserver"로 변경).

관련 파일 수정:

(/opt/ffsyncserver/server-full/development.ini)

[server:main]
use = egg:Paste#http    # not sure about what to insert here!
host = localhost        # not sure about what to insert here!
port = 5000
use_threadpool = True
threadpool_workers = 60

[app:main]
use = egg:SyncServer
configuration = file:%(here)s/etc/sync.conf

[handler_syncserver_errors]
args = ('/opt/ffsyncserver/server-full/logs/sync-error.log',)

(/opt/ffsyncserver/server-full/etc/sync.conf)

[storage]
sqluri = sqlite:////opt/ffsyncserver/server-full/db/ffsync.db
quota_size = 25600

[auth]
sqluri = sqlite:////opt/ffsyncserver/server-full/db/ffsync.db
allow_new_users = true

[nodes]
fallback_node = http://ffsync.mraspberrypi.com

[smtp]
host = localhost
port = 25
sender = [email protected]

[reset_code]
sqluri = sqlite:////opt/ffsyncserver/server-full/db/ffsync.db

2) 그 후 이 명령을 사용하여 Apache 2와 mod_wsgi를 설치했습니다.

sudo apt-get install apache2 apache2-doc libapache2-mod-wsgi

관련 파일 수정:

(/etc/apache2/httpd.conf)

ServerName ffsync.mraspberrypi.com

(/etc/apache2/conf.d/fqdn 파일 생성)

ServerName ffsync.mraspberrypi.com

또한 /etc/apache2/sites-available/firefox-sync 파일을 생성하여 /etc/apache2/sites-enabled/ 폴더에 연결했습니다.

<Directory /opt/ffsyncserver/server-full>
    Require all granted
</Directory>

<VirtualHost *:80>
    ServerName ffsync.mraspberrypi.com
    ServerAdmin [email protected]

    DocumentRoot /opt/ffsyncserver/server-full

    CustomLog ${APACHE_LOG_DIR}/ffsyncserver_access.log combindes
    ErrorLog ${APACHE_LOG_DIR}/ffsyncserver_error.log

    WSGIProcessGroup ffsync
    WSGIDaemonProcess ffsync user=ffsync group=ffsync processes=2 threads=25
    WSGIPassAuthorization On
    WSGIScriptAlias / /opt/ffsyncserver/server-full/sync.wsgi
</VirtualHost>

예를 들어, apache2 서버를 시작한 후 RPi의 IP를 사용하여 기본 웹 페이지를 볼 수 있지만 "ffsync.raspberrypi.com"을 입력하면 작동하지 않습니다!

위에 지정된 URL로 Firefox-Sync를 사용하려는 경우 해당 URL이 유효하지 않다는 메시지가 나타납니다!

그렇다면 문제는 무엇입니까?

관련 정보