Configuration apache
Alex
-
Alex -
Alex -
Bonjour,
Je n'arrive pas après avoir configuré mon serveur Apache accéder au répertoire apache/cgi-bin.
# Ha, you're reading this config file looking for the easy way out!
# "how do I make my apache server go really really fast??"
# Well you could start by reading the /manual/misc/perf-tuning.html
# page. But, we'll give you a head start.
#
# This config file is small, it is probably not what you'd expect on a
# full featured internet webserver with multiple users. But it's
# probably a good starting point for any folks interested in testing
# performance.
#
# To run this config you'll need to use something like:
# httpd -f /home/alexandre/apache/conf/highperformance.conf
ScriptAlias (?i)^/cgi-bin(.*) /home/alexandre/apache/cgi-bin$1
<Location /cgi-bin >
SetHandler cgi-script
Options +ExecCGI
</Location>
Listen 80
ServerRoot /home/alexandre/apache
DocumentRoot /home/alexandre/apache/htdocs
ServerName localhost
User nobody
# If you're not on Linux, you'll probably need to change Group
Group admin
<IfModule prefork.c>
MaxClients 150
StartServers 5
MinSpareServers 5
MaxSpareServers 10
</IfModule>
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
# Assume no memory leaks at all
MaxRequestsPerChild 0
# it's always nice to know the server has started
ErrorLog logs/error_log
# Some benchmarks require logging, which is a good requirement. Uncomment
# this if you need logging.
#TransferLog logs/access_log
<Directory />
# The server can be made to avoid following symbolic links,
# to make security simpler. However, this takes extra CPU time,
# so we will just let it follow symlinks.
Options FollowSymLinks
# Don't check for .htaccess files in each directory - they slow
# things down
AllowOverride None
# If this was a real internet server you'd probably want to
# uncomment these:
#order deny,allow
#deny from all
</Directory>
# If this was a real internet server you'd probably want to uncomment this:
#<Directory "/home/alexandre/apache/htdocs">
# order allow,deny
# allow from all
#</Directory>
# OK that's enough hints. Read the documentation if you want more.
Je n'arrive pas après avoir configuré mon serveur Apache accéder au répertoire apache/cgi-bin.
# Ha, you're reading this config file looking for the easy way out!
# "how do I make my apache server go really really fast??"
# Well you could start by reading the /manual/misc/perf-tuning.html
# page. But, we'll give you a head start.
#
# This config file is small, it is probably not what you'd expect on a
# full featured internet webserver with multiple users. But it's
# probably a good starting point for any folks interested in testing
# performance.
#
# To run this config you'll need to use something like:
# httpd -f /home/alexandre/apache/conf/highperformance.conf
ScriptAlias (?i)^/cgi-bin(.*) /home/alexandre/apache/cgi-bin$1
<Location /cgi-bin >
SetHandler cgi-script
Options +ExecCGI
</Location>
Listen 80
ServerRoot /home/alexandre/apache
DocumentRoot /home/alexandre/apache/htdocs
ServerName localhost
User nobody
# If you're not on Linux, you'll probably need to change Group
Group admin
<IfModule prefork.c>
MaxClients 150
StartServers 5
MinSpareServers 5
MaxSpareServers 10
</IfModule>
<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
# Assume no memory leaks at all
MaxRequestsPerChild 0
# it's always nice to know the server has started
ErrorLog logs/error_log
# Some benchmarks require logging, which is a good requirement. Uncomment
# this if you need logging.
#TransferLog logs/access_log
<Directory />
# The server can be made to avoid following symbolic links,
# to make security simpler. However, this takes extra CPU time,
# so we will just let it follow symlinks.
Options FollowSymLinks
# Don't check for .htaccess files in each directory - they slow
# things down
AllowOverride None
# If this was a real internet server you'd probably want to
# uncomment these:
#order deny,allow
#deny from all
</Directory>
# If this was a real internet server you'd probably want to uncomment this:
#<Directory "/home/alexandre/apache/htdocs">
# order allow,deny
# allow from all
#</Directory>
# OK that's enough hints. Read the documentation if you want more.
A voir également:
- Configuration apache
- Ethernet n'a pas de configuration ip valide - Guide
- Panneau de configuration - Guide
- Apache open office gratuit - Télécharger - Suite bureautique
- Retablir configuration usine chromecast - Guide
- Connaitre configuration pc - Guide