You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

Difference between revisions of "Sandbox"

From Wikitech-static
Jump to navigation Jump to search
imported>Zixuan
(add line break)
imported>Zixuan
(new Apache2 config)
Line 4: Line 4:
|text={{#ifeq: {{FULLPAGENAME}}|Wikimedia talk:Sandbox|{{Template:Sandbox heading/Talk not}}}}
|text={{#ifeq: {{FULLPAGENAME}}|Wikimedia talk:Sandbox|{{Template:Sandbox heading/Talk not}}}}
Welcome to this Sandbox page, which allows you to carry out experiments. To edit, click <span class="plainlinks">'''[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} here]'''</span> or the ''Edit'' tab above{{#ifeq: {{FULLPAGENAME}}|Wikimedia talk:Sandbox|, or, to easily create a new discussion topic, click the ''New section'' tab instead}}; make your changes, and click the ''Save page'' button when finished. Content will '''not''' stay permanently; this page is cleaned regularly, and may be overwritten by other testing users.
Welcome to this Sandbox page, which allows you to carry out experiments. To edit, click <span class="plainlinks">'''[{{SERVER}}{{localurl:{{NAMESPACE}}:{{PAGENAME}}|action=edit}} here]'''</span> or the ''Edit'' tab above{{#ifeq: {{FULLPAGENAME}}|Wikimedia talk:Sandbox|, or, to easily create a new discussion topic, click the ''New section'' tab instead}}; make your changes, and click the ''Save page'' button when finished. Content will '''not''' stay permanently; this page is cleaned regularly, and may be overwritten by other testing users.
To clear the sandbox, please [https://wikitech.wikimedia.org/w/index.php?title=Sandbox&oldid=1790454&action=edit edit this revision].


Please do not place copyrighted, offensive, or libelous content in the sandboxes.
Please do not place copyrighted, offensive, or libelous content in the sandboxes.
Line 11: Line 13:
| imageright = {{#ifeq: {{FULLPAGENAME}}|Wikimedia talk:Sandbox|{{Ombox/Shortcut|WT:SAND}} |{{Ombox/Shortcut|WM:SAND}} }}
| imageright = {{#ifeq: {{FULLPAGENAME}}|Wikimedia talk:Sandbox|{{Ombox/Shortcut|WT:SAND}} |{{Ombox/Shortcut|WM:SAND}} }}
}}
}}
{{Please do not leave this line alone (sandbox heading)}}
== Apache2 ==
<div class="user-block" style="min-height: 40px">[[File:Stop x nuvola.svg|40px|left|alt=Stop icon]]<div style="margin-left:45px">You have been '''[[w:en:WP:Blocking policy|blocked]]''' '''[[Wikipedia:Blocking_policy#Indefinite_blocks|indefinitely]]''' from editing because it appears that you are [[w:en:Wikipedia:Here to build an encyclopedia#Clearly not being here to build an encyclopedia|not here to build an encyclopedia]]. </div><div style="margin-left:45px">If you think there are good reasons for being unblocked, please read the [[w:en:WP:Guide to appealing blocks|guide to appealing blocks]], then add the following text below the block notice on your talk page: <!-- Copy the text as it appears on your page, not as it appears in this edit area. Do not include the "tlx|" code. -->{{tlx|unblock|2=reason=''Your reason here &#126;&#126;&#126;&#126;''}}. &nbsp;[[User:Bbb23|Bbb23]] ([[User talk:Bbb23|talk]]) 03:23, 22 January 2018 (UTC)</div></div><!-- Template:Uw-nothereblock -->
=== Before compiling ===
 
<pre> 
'''Your IP address is in a range which has been blocked on all wikis.''' The block was made by [//meta.wikimedia.org/wiki/User:%D8%B9%D9%84%D8%A7%D8%A1 علاء] (meta.wikimedia.org). The reason given is ''Cross-wiki abuse''.
apache: No index.html on /var/www/html.
* Start of block: 19:18, 1 May 2018
apache: Reloading web page.
* Expiration of block: 19:18, 1 June 2018
apache: ({
You can contact [//meta.wikimedia.org/wiki/User:%D8%B9%D9%84%D8%A7%D8%A1 علاء] to discuss the block. You cannot use the "Email this user" feature unless a valid email address is specified in your [[Special:Preferences|account preferences]] and you have not been blocked from using it. Your current IP address is 2606:a000:6604:d700:e4fc:c1c8:5690:b723, and the blocked range is 2606:A000:6604:D700:0:0:0:0/64. Please include all above details in any queries you make.
    crash: index.html
{{unblock|reason=IP block does not neccasary but it is going to block my account at all wikis, so that is awesome. Why? I need a unblock.<span style="background:green; width: 90px;">'''[[User:Zixuan#top|Zix]][[User talk:Zixuan#top|uan]]'''</span> 20:09, 1 May 2018 (UTC)}}<br />{{unblock|reason=IP block does not neccasary but it is going to block my account at all wikis, so that is awesome. Why? I need a unblock.<span style="background:green; width: 90px;">'''[[User:Zixuan#top|Zix]][[User talk:Zixuan#top|uan]]'''</span> 20:09, 1 May 2018 (UTC)|accept=Thank you. <span style="background:green; width: 90px;">'''[[User:Zixuan#top|Zix]][[User talk:Zixuan#top|uan]]'''</span> 20:09, 1 May 2018 (UTC)}}<br />{{unblock|reason=IP block does not neccasary but it is going to block my account at all wikis, so that is awesome. Why? I need a unblock.<span style="background:green; width: 90px;">'''[[User:Zixuan#top|Zix]][[User talk:Zixuan#top|uan]]'''</span> 20:09, 1 May 2018 (UTC)|decline=Thank you. <span style="background:green; width: 90px;">'''[[User:Zixuan#top|Zix]][[User talk:Zixuan#top|uan]]'''</span> 20:09, 1 May 2018 (UTC)}}
    function: apache_load()
[[File:Stop x nuvola.svg|400px|left|alt=Stop icon]]
})
[[File:Stop x nuvola.svg|400px|left|alt=Stop icon]]
apache: {
PRE---------------------MEMORY----------------------CPU---------------------PID----------------------TIME---------------------NAME-----
58                                  19%                                    14                            59497                        16:08:39 + ({  6    })  apache-server
23                                14.5%                                    9                              59418                        25:27:54 + ({  8    })  phpmyadmin
47                                  9%                                      10                            59536                        10:34:26 + ({  4    })      php5         
94                                  6%                                      15                            59547                          9:15:13 + ({  3    })    apache2
}
apache: Loading stats for Apache2...
  You may need to reload Apache2 to apply the new configuration.
apache: Stats finished.
apache: Stats: {
----------------------------------------------------PID----------------------------------------TIME-------------------------
                                                                  59418                                              25:27:54 + ({  8    })
}
</pre>
=== Compiling results===
<pre>
apache: ({
    crash: index.html
    function: apache_load()
})
apache: {
PRE---------------------MEMORY----------------------CPU---------------------PID----------------------TIME---------------------NAME-----
23                                  23%                                    20                            59418                        30:19:54 + ({  45  })  phpmyadmin
58                                  14%                                    13                            59497                        17:35:46 + ({  6    })   apache-server       
94                                    9%                                      16                            59547                        10:49:20 + ({  9    })    apache2
}
apache: Compiling Apache2 config file.
apache: Finished removing old Apache2 config file.
apache: Adding new Apache2 config file...
  When it it finished, you may need to restart Apache2.
apache: Removing direct config: ({
    type: direct-config-remove
    function: apache_direct-config-remove()
})
apache: Compiled new Apache2 config file.
apache: Loading stats for Apache2...
  You may need to reload Apache2 to apply the new configuration.
apache: Stats finished.
apache: Stats: {
----------------------------------------------------PID----------------------------------------TIME-------------------------
                                                                  59497                                              30:19:54 + ({  45    })
                                                                  59617                                              17:14:12 + ({  36    })
}
</pre>
==== Direct results ====
<pre>
apache: Loading new Apache2 config file.
apache: Config file results: ({
    type: add-apache-config-file
    direct: ({
      <Directory />
        Allow from all
        Options FollowSymLinks
      </Directory>
    })
    function: apache_add-apache-configuration-file()
    mode: apache_direct-configuration-add-mode(apache_add-apache-configuration-file())
    result: apache_get-result(apache_add-apache-configuration-file())
})
apache: Result of new Apache2 config file: ({
  type: result(add-apache-config-file)
  config-result: apache-get-result()
  function: apache_get-result(apache_add-apache-configuration-file())
  result: apache_get-result(apache_add-apache-configuration-file())
})
apache: Removing current Apache2 direct config file at /etc/apache2/sites-default-mode.conf...
  You might need to restart Apache2 once the removing is finished.
apache: Removed current Apache2 direct config file.
apache: Adding new Apache2 direct config file at /etc/apache2/side-default-mode-direct-config.conf...
  You might need to restart Apache2 once the adding is finished.
apache: Added new Apache2 direct config file.
</pre>
=== After compiling ===
<pre>
apache: ({
    crash: index.html
    function: apache_load()
})
apache: {
PRE---------------------MEMORY----------------------CPU---------------------PID----------------------TIME---------------------NAME-----
23                                  25%                                    23                            59418                        31:25:19 + ({  47  })  phpmyadmin
58                                  15%                                    19                            59497                        19:49:56 + ({  7    })   apache-server       
94                                  10%                                    17                            59547                        13:33:23 + ({  8    })    apache2
}
apache: Loading stats for Apache2...
  You may need to reload Apache2 to apply the new configuration.
apache: Stats finished.
apache: Stats: {
----------------------------------------------------PID----------------------------------------TIME-------------------------
                                                                  59497                                              31:25:19 + ({  47    })
                                                                  59617                                              18:25:42 + ({  36    })
}
</pre>

Revision as of 00:10, 5 May 2018

Apache2

Before compiling

   
apache: No index.html on /var/www/html.
apache: Reloading web page.
apache: ({
    crash: index.html
    function: apache_load()
})
apache: {
PRE---------------------MEMORY----------------------CPU---------------------PID----------------------TIME---------------------NAME-----
 58                                   19%                                     14                             59497                        16:08:39 + ({   6    })   apache-server
 23                                 14.5%                                     9                              59418                        25:27:54 + ({   8    })   phpmyadmin
 47                                   9%                                       10                             59536                        10:34:26 + ({   4    })       php5          
 94                                   6%                                       15                             59547                          9:15:13 + ({   3    })     apache2
}
apache: Loading stats for Apache2...
   You may need to reload Apache2 to apply the new configuration.
apache: Stats finished.
apache: Stats: {
----------------------------------------------------PID----------------------------------------TIME-------------------------
                                                                   59418                                              25:27:54 + ({   8    })
}

Compiling results

apache: ({
    crash: index.html
    function: apache_load()
})
apache: {
PRE---------------------MEMORY----------------------CPU---------------------PID----------------------TIME---------------------NAME-----
 23                                   23%                                     20                             59418                        30:19:54 + ({  45   })   phpmyadmin 
 58                                   14%                                     13                             59497                        17:35:46 + ({   6    })   apache-server        
 94                                    9%                                      16                             59547                        10:49:20 + ({   9    })     apache2
}
apache: Compiling Apache2 config file.
apache: Finished removing old Apache2 config file.
apache: Adding new Apache2 config file...
   When it it finished, you may need to restart Apache2.
apache: Removing direct config: ({
    type: direct-config-remove
    function: apache_direct-config-remove()
})
apache: Compiled new Apache2 config file.
apache: Loading stats for Apache2...
   You may need to reload Apache2 to apply the new configuration.
apache: Stats finished.
apache: Stats: {
----------------------------------------------------PID----------------------------------------TIME-------------------------
                                                                   59497                                              30:19:54 + ({   45    })
                                                                   59617                                              17:14:12 + ({   36    })
}

Direct results

apache: Loading new Apache2 config file.
apache: Config file results: ({
    type: add-apache-config-file
    direct: ({
      <Directory />
        Allow from all
        Options FollowSymLinks
      </Directory>
    })
    function: apache_add-apache-configuration-file()
    mode: apache_direct-configuration-add-mode(apache_add-apache-configuration-file())
    result: apache_get-result(apache_add-apache-configuration-file())
})
apache: Result of new Apache2 config file: ({
   type: result(add-apache-config-file)
   config-result: apache-get-result()
   function: apache_get-result(apache_add-apache-configuration-file())
   result: apache_get-result(apache_add-apache-configuration-file())
})
apache: Removing current Apache2 direct config file at /etc/apache2/sites-default-mode.conf...
   You might need to restart Apache2 once the removing is finished.
apache: Removed current Apache2 direct config file.
apache: Adding new Apache2 direct config file at /etc/apache2/side-default-mode-direct-config.conf...
   You might need to restart Apache2 once the adding is finished.
apache: Added new Apache2 direct config file.

After compiling

apache: ({
    crash: index.html
    function: apache_load()
})
apache: {
PRE---------------------MEMORY----------------------CPU---------------------PID----------------------TIME---------------------NAME-----
 23                                   25%                                     23                             59418                        31:25:19 + ({  47   })   phpmyadmin 
 58                                   15%                                     19                             59497                        19:49:56 + ({   7    })   apache-server        
 94                                   10%                                     17                             59547                        13:33:23 + ({   8    })     apache2
}
apache: Loading stats for Apache2...
   You may need to reload Apache2 to apply the new configuration.
apache: Stats finished.
apache: Stats: {
----------------------------------------------------PID----------------------------------------TIME-------------------------
                                                                   59497                                              31:25:19 + ({   47    })
                                                                   59617                                              18:25:42 + ({   36    })
}