Skip to content
Advertisement

Tag: apache

Nginx(proxy) + Apache: two process listening same port

I have two servers on CentOS: Nginx(proxy) + Apache. I need restart Nginx but if i try to test configuration before restart, i have next error: How i can solve this problem? Thanks! P.S. Nginx has listen port 80, apache listen 81. Answer I don’t know why this error has appeared, but after I made error has gone: I’ve tried

Apache httpd vs. Tomcat 7: port 80 vs. port 8080

I had recently installed Tomcat 7 on Amazon ec2. I found that Tomcat, by default, listens on port 8080. The documentation on the internet advocates that this is because linux is better saving the lower ports to the super user. (The solution on ec2 btw is creating a Load Balancer – directing the communications from port 80 to port 8080

httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName

I tried to restart my Apache server on CentOS 5.0 and got this message: httpd: Could not reliably determine the server’s fully qualified domain name, using 127.0.0.1 for ServerName Here is the /etc/hosts file: Here is the /etc/sysconfig/network file: I also have this in the Apache httpd.conf file: However, I still get the first error message when I restart Apache.

starting apachectl from bash

I am writing a bash file. I need to start apachectl from my bash file. so i wrote: When I run it with root, an error occurred: I searched and I found that, I should be super user with su – not su Now, I want to know: why this error occurred? How could i run it with su? Answer

ISPConfig 3, a ninja sets my open_basedir

I have a PHP library that I’d like to share to several vhosts on my server, but the open_basedir directive is causing troubles. I use ISPConfig 3 to manage the sites. PHP Warning: include(): open_basedir restriction in effect. File(/var/toaster/latest/__server/core/cms.php) is not within the allowed path(s): ([cut:several paths]) in [cut] on line 5 phpinfo() says: Loaded Configuration File: /etc/php5/cgi/php.ini open_basedir: [cut:several

Can i host multiple sites with one django installation

I have my own VPS server with Centos and cpanel/WHM Currently i am building one website in Django with djnago builin server. When site finishes then i will move to WSGI and apache I want to know that Can I host multiple sites with same django installation Also what bout apps which i have installed with pip like SOUTH, SENTRY,

Advertisement