New answers tagged

-2

I changed ownership with the 'sudo chown' command, but I forgot that I also had to do the 'sudo chmod 777' command as well. This fixed everything. I'll change it later, but this will do for testing.


0

See how nginx processes a request. But I will add a couple of caveats that specifically address your question and are easily observed but may not be well documented. You mention rewrite and return directives, but these belong to the ngx_http_rewrite_module which have there own evaluation rules and do not behave the same as the core directives. You are ...


0

you can install Nginx and edit the configuration files (if on ubuntu) that are in /etc/nginx/sites-available/default you can change where it says listen 80 default_server; listen [::]:80 default_server; and edit to what you need, from what you mentioned you could use listen 2083 default_server; listen [::]:2083 default_server; edit* for SSL you can edit ...


0

Also, there is a small misunderstanding of nginx in your configuration: you should replace $uri/ with $uri/index.php or $uri/index.html or whatever. It stops at try_files $uri/ because it does find that location but the user is forbidden to access it. This works for me as it was approved as correct answer :) Thanks Florin Asăvoaie location ^~ /...


0

In case someone using Windows and trying to add a different port, then we should update the ServerName also. Default, ServerName is set to localhost:80. Listen 80 Listen 8080 ServerName localhost


1

Tomcat does not have support for acting as a reverse proxy. If the second server is a LAMP server then httpd can act as a reverse proxy. It would be worth considering reorganising things so the LAMP server uses the domain and certificate and then proxies requests to the Tomcat instance as required.


1

I already talked with the ISP, they even don't know what's "web hosting" If that was the customer support responsible for your contract, that means you do not have a contract with your ISP that is geared towards professional use. Maybe even the entire ISP only serves consumer use cases. Go get a contract with a company appropriate for your use. ...


0

First, make sure you enable the CGI module using : a2enmod cgid and try add AddHandler above Action AddHandler test-script .tts Action test-script "/usr/lib/cgi-bin/tts.cgi" If you want to run CGI script, just use config like below: <Directory "/var/www/html/cgi"> Options +ExecCGI AddHandler cgi-script .cgi .pl .py .rb <...


Top 50 recent answers are included