Howdy,
I know reading the wiki you can have SBBS call php either via CGI or FPM.
Is there a way to have FPM called, when the suffix is not ending with .php?
EG: Lets say I have a url http://mysite/foo/bar - I actually want a nominated file (let say index.php) to be called with /foo/bar.
So instead of writing the URL as http://mysite/index.php/foo/bar (which works), how can I have http://mysite/foo/bar resolve to index.php being called?
Is it possible?
(I know I can have nginx doing this - and that might be what I need to do, if I cant get sbbs's web server doing it...)
Yeah, look at wiki.synchro.net. It's a dokuwiki.php served up via Synchronet web server.
$ cat webctrl.ini
PathInfoIndex=yes
Re: SBBS + PHP and URL paths
By: Digital Man to alterego on Tue Aug 11 2020 11:42 pm
Yeah, look at wiki.synchro.net. It's a dokuwiki.php served up via Synchronet web server.
$ cat webctrl.ini
PathInfoIndex=yes
Perfect, thanks.
Turned out I only needed PathInfoIndex - sweet...
Sysop: | deepend |
---|---|
Location: | Calgary, Alberta |
Users: | 239 |
Nodes: | 10 (0 / 10) |
Uptime: | 84:17:58 |
Calls: | 1,412 |
Files: | 3,254 |
Messages: | 354,440 |