NethServer Version: 6.10
Module: primary web server
I’m installing a web app into the primary server (ie, /var/www/html) and have hit a snag. Every other app I’ve installed has been fine, short of solving a few permissions problems.
This current app installs fine - that is, the provided installer works. The upgrade tool works. And the help system works. However, those tools are not written with CodeIgniter. As soon as I try to access the main system, the app using the CI route/controller system to direct traffic. For example:
https://my.server/sim/
Is the main page. As I’m not logged in, I’m routed to:
https://my.server/sim/auth/login
This all works perfectly on my test system installed into my HostGator account. However, on NS I get the following:
Not Found
The requested URL /sim/auth/login was not found on this server.
There is, of course, not actually a /sim/auth/login path. The .htaccess is supposed to reroute this. Here’s .htaccess:
DirectoryIndex index.php index.html
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /sim/
RewriteCond $1 !^(index\.php|assets|install|update)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [NC,L,QSA]
</IfModule>
Any ideas why this won’t work with NS? The app author - probably rightfully, as there are no problems under HostGator - calls this a server configuration problem and offers no help.