Enable to deploy websites in subdirectories. #4

Closed
GNUtoo wants to merge 1 commit from (deleted):master into master
Contributor

Hi,

Here's a new patch to enable to deploy websites in subdirectories.

I also added a new website to test that, and it's based on the bunnies one.

Because of that the patch looks big but the following command can make it much smaller and easier to review:

git format-patch -M --find-copies-harder -1

Also, the commit shows as unverified and Codeberg shows this warning when we click on the red open lock:

WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.

This is most likely because the commit is signed with a subkey and that the forge software used by codeberg doesn't support that.

Denis.

Hi, Here's a new patch to enable to deploy websites in subdirectories. I also added a new website to test that, and it's based on the bunnies one. Because of that the patch looks big but the following command can make it much smaller and easier to review: ```git format-patch -M --find-copies-harder -1``` Also, the commit shows as unverified and Codeberg shows this warning when we click on the red open lock: ```WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.``` This is most likely because the commit is signed with a subkey and that the forge software used by codeberg doesn't support that. Denis.
Sometimes people just have shell accounts on a server and the machine
is setup to serve web pages from their home directory. In that case
the domains typically looks like https://domain.org/~username/.

This change add support for that use case and also provides an example
website for it.

The change also contains tests to make sure that the links are not
broken for websites deployed in both top directories or in
subdirectories.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
GNUtoo closed this pull request 2023-12-07 02:25:59 +01:00

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
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
vimuser/untitled!4
No description provided.