AsmBB

Power
Login Register

Running in a subdirectory

#15770 (ツ) earthendev
Last edited: 27.02.2019 by earthendev, read: 1443 times

I just tested out the forum with nginx in a subdirectory of my server (because I don't have a subdomain available right now) and I noticed this doesn't work correctly. The form target for the admin registration for is set to

/!adminrulez

for example, which results in a 404 for me (it should be

/forum/!adminrulez

for me). Support for this would be pretty easy to add I think (just add an additional config option and associated template variable) and it would be a common use case IMO. What do you think?

#15771 (ツ) johnfound
Created 28.02.2019, read: 1434 times

Well, AsmBB is designed to work in a subdomain. I have never tried to run it in a subdirectory. The path for the templates is the easiest part. Actually in order to run it in a subdirectory will need an additional prefix to be added to every URI in the engine, which might be not so easy to be done.

When I have time I will research this issue in depth.

AsmBB v2.9 (check-in: 6d407831308ba556); SQLite v3.31.1 (check-in: 3bfa9cc97da10598);
©2016..2020 John Found; Licensed under EUPL. Powered by Assembly language Created with Fresh IDE