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: | Gate Keeper |
---|---|
Location: | Shelby, NC |
Users: | 719 |
Nodes: | 20 (0 / 20) |
Uptime: | 77:46:53 |
Calls: | 9,210 |
Calls today: | 9 |
Files: | 5,288 |
D/L today: |
29 files (418M bytes) |
Messages: | 466,281 |