Installing Apache on Windows XP With Skype | Finding The Sweet Spot - Beyond SEO and Web Design
Installing Apache on Windows XP With Skype
Installing Apache on Windows XP With Skype | Finding The Sweet Spot - Beyond SEO and Web Design
Installing Apache on Windows XP With Skype
ユーザのホームディレクトリは、デフォルトではapacheにアクセス権がないので、711に変更する必要がある。
http://httpd.apache.org/docs/2.0/howto/cgi.html
.htaccess の例:
Options +ExecCGI
AddHandler cgi-script cgi pl
ab -c <同時リクエスト数> -n <トータルリクエスト数>
http://www.symfony-project.com/askeet/19
You should always start by a ab -c 1 -n 1 to have an idea of the time taken by the test itself before executing it on a larger number of requests. Then, increase the number of total requests (like ab -c 1 -n 30) until you have a reasonably low standard deviation. Only then will you have a significant average connection time measure, and you will be ready for the actual load test. Add threads little by little (and don't forget to increase the total number of requests accordingly, like ab -c 10 -n 300) and see the connection time increase as your server load is being handled. When the average loading times pass beyond a few seconds, it means that your server is outnumbered and can probably not support more concurrent threads. You have determined the maximum charge of your service. This is called a stress test.
<VirtualHost *:80>
ServerName myapp.example.com
ServerAlias *.myapp.example.com
DocumentRoot "/home/steve/myproject/web"
DirectoryIndex index.php
Alias /sf /$data_dir/symfony/web/sf
<Directory "/home/steve/myproject/web">
AllowOverride All
Allow from All
</Directory>
</VirtualHost>
最近のコメント