Fix directory indexes when on pages domain #8

Closed
opened 2025-12-03 00:10:33 +00:00 by ric · 1 comment
Owner

When using the pages domain the indexes don't work but they do on the custom domain.

When using the pages domain the indexes don't work but they do on the custom domain.
ric self-assigned this 2025-12-03 00:10:33 +00:00
ric added this to the Roadmap project 2025-12-03 00:10:33 +00:00
Author
Owner

For pages domain URLs, the structure is:

For custom domain URLs, the structure is:

When you access https://ric.pages.sqcows.com/moo/, the code is interpreting "moo" as a repository name (not a directory path), which is why you're getting "Repository not found
or not configured for pages".

For pages domain URLs, the structure is: - Profile site: https://ric.pages.sqcows.com/ (from .profile repo) - Repository: https://ric.pages.sqcows.com/REPO_NAME/ - File in repo: https://ric.pages.sqcows.com/REPO_NAME/path/to/file For custom domain URLs, the structure is: - Repository root: https://ric.squarecows.com/ - Directory/file: https://ric.squarecows.com/moo/ When you access https://ric.pages.sqcows.com/moo/, the code is interpreting "moo" as a repository name (not a directory path), which is why you're getting "Repository not found or not configured for pages".
ric closed this issue 2025-12-03 12:34:10 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SquareCows/pages-server#8
No description provided.