Comments (2)
Tabby relies on mod_rewrite in Apache or similar features in other web servers like nginx and lighttpd to map all non-existent requests to index.php. The installer contains checking code that verifies whether this mapping (with the included .htaccess) is done correctly. If you're a coder, you can see the checks on https://github.com/bertvandepoel/tabby/blob/master/resources/install.php#L55
If the verification of the mapping as part of installation fails (see https://github.com/bertvandepoel/tabby/blob/master/index.php#L104 if you're a coder), a message is displayed after installation to notify you of this. So the installer should finish with a message like:
By default, Tabby uses a .htaccess file with mod_rewrite to support semantic URLs and hide the changelog.txt file
It seems visits to semantic URLs aren't correctly mapped to index.php. If you are running Apache, please verify that mod_rewrite is enabled and either allow .htaccess files ("AllowOverride All" on the Directory context, "AccessFileName .htaccess" globally) or appropriately move the contents of .htaccess to a VirtualHost or Directory context within your configuration. If you are using nginx, add a fallback to index.php in the appropriate try_files statement. Instructions on how to fall back to index.php are easily available online for other webserver software.
It also seems changelog.txt is publicly available. While this isn't a problem in and by itself, the changelog clearly indicates which version of Tabby you are running. If any security issue would turn up in the future, a possible attacker could deduce whether you are vulnerable or not based on the changelog when it's available. To prevent this, changelog.txt is redirected to index.php. This also means that you can followed identical instructions for Apache. If .htaccess works correctly or its contents are moved to configuration in the right context, both issues should be resolved. If you are using nginx, a rewrite or return can be used prior to try_files to move visits for changelog.txt to the Tabby base URL. Instructions on how to redirect a specific file are easily available online for other webserver software.
Did you perhaps miss these messages in the installer or read them a little too quickly and therefore missed their importance? If you did not get them, could you please post a screenshot of the "installation complete" page with the green Installation completed successfully
success message? Either way, I'm willing to look into the installer to hopefully prevent others from having this issue.
from tabby.
Thanks for the help!
After a break away from it for a little while and some fresh eyes, I've managed to get it fixed.
It appears the problem was an omitted slash ie. should have been /index.php in my try_files, which does seem rather odd, but glad it's all sorted!
from tabby.
Related Issues (20)
- Alias support
- Recurring expenses? HOT 3
- In the US, we donβt have IBAN HOT 4
- Docker installation HOT 3
- Adding negative debt (credit) through an activity fails
- How to adapt php.ini for non-standard sendmail emailing? HOT 9
- Unable to delete activity HOT 11
- Feature Request: EPC QR-codes for bank transfer to European IBAN number
- Cannot start session when headers already sent HOT 5
- Feature Request: Support for South African currency and bank account types HOT 6
- Feature Request Docker container HOT 14
- Switch from default mail function to PHPMailer HOT 5
- Issue: Typo in `check_any_debtors` function causing potential bug
- Today button when creating activity
- Also mention the total amount due in notification mails of new events
- Add favicon
- Change sorting for people with no debt
- Any chance for LDAP auth and SSO? HOT 11
- Debt values >1,000.00 not shown properly in record HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tabby.