djradicale icon indicating copy to clipboard operation
djradicale copied to clipboard

Infinite Redirects /radicale/.web

Open ckarrie opened this issue 3 months ago • 0 comments

Hi, I tried as a newbe to get your project working.

  • created a python3 venv in my home directory
  • installed djradicale from master

pip freeze gives me:

  • Django 5.1.2
  • Radicale 3.3.0

Added all settings/urls and additionally set the storage to my existing radicale storage folder:

DJRADICALE_PREFIX = '/radicale/'
DJRADICALE_CONFIG = {
    'auth': {
        'type': 'djradicale.auth',
    },
    'rights': {
        'type': 'djradicale.rights',
    },
    'storage': {
        'type': 'djradicale.storage',
        'filesystem_folder': '/home/christian/workspace/venvs/djradicale_env/storage'
    },
}

Tried to access /radicale/ in the browser, but got infinite redirects:

[31/Oct/2024 12:59:39] "GET /radicale/.web HTTP/1.1" 301 48
[31/Oct/2024 12:59:39] "GET /radicale/.web HTTP/1.1" 301 48
[31/Oct/2024 12:59:39] "GET /radicale/.web HTTP/1.1" 301 48
[31/Oct/2024 12:59:39] "GET /radicale/.web HTTP/1.1" 301 48
[31/Oct/2024 12:59:39] "GET /radicale/.web HTTP/1.1" 301 48
[31/Oct/2024 12:59:39] "GET /radicale/.web HTTP/1.1" 301 48
[31/Oct/2024 12:59:39] "GET /radicale/.web HTTP/1.1" 301 48
[31/Oct/2024 12:59:39] "GET /radicale/.web HTTP/1.1" 301 48

Running radicale in my venv works fine

(djradicale_env) christian@nzxt:~/workspace/venvs/djradicale_env$ radicale --storage-filesystem-folder storage/

ckarrie avatar Oct 31 '24 13:10 ckarrie