Fossil User Forum

Fossil homepage redirection idea
Login

Fossil homepage redirection idea

Fossil homepage redirection idea

(1) By jose i cabrera (jicman) on 2025-03-11 13:01:02 [link] [source]

Greetings.

When I want to go to the fossil site, I've always have to duckduckgo because I can't remember the site. I know, I should, but...

When I want to go to the althttpd site, I can do https://sqlite.org/althttpd and that takes me to the althttpd homepage.

The idea is that https://sqlite.org/fossil would redirect me to the fossil homepage. I tried it and I got,

Document Not Found
The document /fossil is not available on this server 

So, it would be a simple change. :-) Thanks.

josé

(2) By Stephan Beal (stephan) on 2025-03-11 13:10:09 in reply to 1 [link] [source]

So, it would be a simple change.

It's not quite the same as the sqlite.org/althttpd case, because /althttpd is just a fossil CGI script which references a repo on that same system, whereas fossil-scm.org runs on a different server. Even so...

Today i learned that a fossil CGI script can look like:

#!/path/to/fossil
redirect: * https://some-other-server/path

So...

https://sqlite.org/fossil

is now a thing.

@DanielD and brickviking: i had to use vi for that ;).

(3) By jose i cabrera (jicman) on 2025-03-11 18:34:02 in reply to 2 [link] [source]

WOW! It works! So good! A one hundred thanks, Stephan.

@DanielD and brickviking: i had to use vi for that ;).

vi the greatest editor ever! :-) Using it since 1988 or close to that.

(4) By sean (jungleboogie) on 2025-03-12 02:48:41 in reply to 2 [link] [source]

Today i learned that a fossil CGI script can look like:

That's a neat trick!!

(5) By brickviking on 2025-03-12 03:18:21 in reply to 2 [source]

<tongue-in-cheek>
You could have done it like a real man err... hacker... coder and used ed.
</tongue-in-cheek>

Regards, brickviking
(Post 63)