-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running it from webroot subfolder #42
Comments
I also have the same issue. Please send suggestion on how to run from subfolder |
You need to see nginx log. May be user's authorization is not ok. |
Hi! You should modify your application config: $config['base_url'] = ''; // change to your absolute or relative URL
$config['index_page'] = ''; // change to 'index.php' if you don't have rewrite configured @mlazarov my suggestion would be adding this file into |
Thanks to @YOzaz, I got the UI part working. But clicking on any of the server's service controls (https://my_server/supervisord-monitor/public_html/index.php/control/stopall/server01) I still get '404 Not Found'. Nginx gives "[error] 23778#0: *392955 open() "/var/www/html/supervisord-monitor/public_html/index.php/control/stopall/server01" failed (20: Not a directory)".. What is the correct link and should happen when I click on that control? BR, |
@goldencut you should check your nginx configuration and rewrite rules - it looks like either they're strict (looking for exact path), either rewrite is not configured. |
Ok, so it seems I got the controls maybe working with: |
nginx+php, run this app, as follow setups: cat /etc/redhat-releaseRed Hat Enterprise Linux Server release 7.4 (Maipo)
othersides, create fastcgi.conf vim fastcgi.conffastcgi_param QUERY_STRING $query_string; fastcgi_param SCRIPT_NAME $fastcgi_script_name; fastcgi_param GATEWAY_INTERFACE CGI/1.1; fastcgi_param REMOTE_ADDR $remote_addr; start php-fpm and nginx |
Hi,
I have a management server (runs nginx) where I keep a lot of web-based tools, each in its own webroot subfolder, that I use to manage servers. I added supervisord-monitor there to its own subfolder, and it runs but it looks really ugly as if no css is loaded etc. Any chance of getting it to work there?
BR,
G.
The text was updated successfully, but these errors were encountered: