Tag : apache

Ubuntu 14.04 64-bit Apache2.4 Configuration Diary Generated DailyPrompt [CustomLog: command not found]Use the following configuration method Configuration method: Change it to errorlog’ |/usr/local/Apache/bin/rotatables/home/logs/www/%y _% m _% d _ error _ log86400 480 ” CustomLog “| /usr/local/apache/bin/rotatelogs /home/logs/www/%Y_%m_%d_access_log 86400 480″common CustomLogIs the instruction in apache configuration file not a shell command, what do you want to ..

Read more

Want to askI have made a web page that is [website backstage]Let’s say aaaI have ip 139.xxx.xxx.xxx to browse the websiteWhile another xxx.com can browse the website(The above is the same website) But can I stipulateSuppose you want to browse aaa, you must use 139.xxx.xxx.xxx/aaa to enterOtherwise, if you use xxx.com/aaa to enter, it will ..

Read more

When using Aliyun as a server, there is always no way to configure it successfully when multiple sites are involved, only ports can be used for access. Google has been working for a long time and has done everything it should. I really don’t know what went wrong. The following is port monitor #ports.conf Listen ..

Read more

Why?apt install nginx-lightAccessing 127.0.0.1 after installation will display Apache2 Debian Default Page? Shouldn’t it be NGINX’s welcome page? I use deepin linux. Nginx-light is a lightweight version of nginx and provides the following modules: core, access, authbasic, autoindex, empty gif.FastCGI, Map, Proxy, Rewrite。 The Apache page is expected to be the page where you installed ..

Read more

Let’s give a specific scenario: Domain Name: xyz.com Dns server ns1.xxx.com Ip Address 123.123.123.123 to Bind Apache2 installed in 123.123.123.123 In apache2′ s configuration file /etc/httpd/conf/httpd.conf, ServerName appears in two places.First place: ServerName gives the name and port that the server uses to identify itself.This can often be determined automatically, but we recommend you specifyit ..

Read more

ubutu 12.04 apache 2.4.12 Adding a virtual host to http-vhost.conf cannot be accessed The configuration file is as follows:<VirtualHost *:80> DocumentRoot “/home/test” ServerName test.develop ErrorLog “logs/dummy-host.example.com-error_log” CustomLog “logs/dummy-host.example.com-access_log” common </VirtualHost> <VirtualHost *:80> DocumentRoot “/home/test1/” ServerName test1.develop ErrorLog “logs/test1-error_log” CustomLog “logs/test1-access_log </VirtualHost> Add hosts locallytest.develop 192.168.9.209test1.develop 192.168.9.209 question :1. Access ip to display the first virtual ..

Read more

System redhat7, httpd started [root@rhcsa conf.d]# netstat -tnpl | grep 443 tcp6 0 0 :::443 :::* LISTEN 1229/httpd Why does the above command only show tcp6 but not tcp? After listening to tcp6, tcp can also be used. Although this only shows the port monitor of IPv6, it does not mean that only IPv6 connections ..

Read more