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: | 792 |
Nodes: | 20 (0 / 20) |
Uptime: | 41:36:40 |
Calls: | 12,357 |
Files: | 5,294 |
D/L today: |
147 files (14,719K bytes) |
Messages: | 576,212 |