httpd










Serwer WWW Apache
















Kurs - Apache






 

Kurs zawiera informacje na temat Serwera WWW Apache pod linuksem.

 



































 




Plik httpd.conf


Lista kodów zdefiniowanych w protokole HTTP/1.1



Moduły DSO ładowane w konfiguracji Red Hat



Raport o stanie serwera










  Info




Oficjalna strona Apache:
http://www.apache.org













 





 
 
Plik konfiguracyjny serwera httpd.conf


User nobody
Group nobody

ServerType standalone
ServerName www.bytow.priv.pl
ServerRoot /usr/local/apache
DocumentRoot /home/strona/
ServerAdmin admin@bytow.priv.pl
Port 80
ServerTokens OS
ServerSignature on

MinSpareServers 5
MaxSpareServers 10
StartServers 5
MaxClients 150
TimeOut 300
KeepAlive On
KeepAliveTimeout 15
ExtendedStatus on

ErrorLog logs/bledy_log
TransferLog logs/transfer_log
LogFormat "host: %h, zadanie: %r, stan: %s, %b bajtow"
PidFile logs/httpd.pid
ErrorDocument 404 "Podales zły adres"
CheckSpelling on

<IfModule mod_mime_magic.c>
MIMEMagicFile conf/magic
</IfModule>


LoadModule agent_log_module modules/mod_log_agent.so
AddModule mod_log_agent.c

<location /status>
order deny,allow
allow from www.bytow.priv.pl
deny from all
SetHandler server-status
</Location>

<location /info>
order deny,allow
allow from www.bytow.priv.pl
deny from all
SetHandler server-info
</Location>



DirectoryIndex index.html index.shtml index.php
Options +Indexes -FollowSymLinks
IndexOptions FancyIndexing
IndexIgnore *.php *.js
IndexIgnore ..
AddIcon icons/bomb.gif *.jpg *.gif
AddDescription "archiwum skompresowane - zip" .zip
DefaultIcon icons/lista.gif
HeaderName naglowek.html
ReadmeName stopka.html

AddHandler imap-file map
ImapDefault error
ImapMenu formatted

UserDir www
<Directory /home/*/www>
AllowOverride None
Options +SymLinksIfOwnerMatch +IncludesNOEXEC
Options -ExecCGI -Indexes
order allow,deny
allow from all
</Directory>

AddType application/x-httpd-php .php3 .php
LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c

AddHandler cgi-script cgi
ScriptAlias /cgi-bin /usr/local/apache/cgi-bin
AddType application/x-httpd-cgi .cgi

AddHandler server-parsed shtml
Options Includes

AccessFileName .htaccess
UseCanonicalName On


<Files .htaccess>
order allow,deny
deny from all
</Files>



NameVirtualHost 127.0.0.1
<VirtualHost www.sport.bytow.priv.pl>
DocumentRoot /home/sport/
ErrorLog logs/sport-error_log
TransferLog logs/sport-transfer_log
ServerName www.sport.bytow.priv.pl
ServerAdmin admin@bytow.priv.pl
</VirtualHost>

<VirtualHost www.bytow.priv.pl>
DocumentRoot /home/strona/
ErrorLog logs/error_log
TransferLog logs/transfer_log
ServerName www.bytow.priv.pl
ServerAdmin admin@bytow.priv.pl
ServerName bytow.priv.pl
</VirtualHost>

Alias /icons /usr/local/apache/icons
TypesConfig conf/mime.types
DefaultType text/html
AddLanguage pl .pl
AddLanguage fr .fr
AddLanguage de .de
LanguagePriority pl fr de







 



 








Kurs Apache







WWW: http://www.apache.hg.pl   -   
E-mail: brunus@poczta.fm

Autor: Góra Sławomir   -   
Kontakt z autorem











Wyszukiwarka

Podobne podstrony:
httpd
httpd 8
system dla httpd
HTTPD J FORMS
HTTPD J HTTPD
httpd 3
httpd 1
httpd 4

więcej podobnych podstron