Kod: Zaznacz cały
/etc/apache2/httpd.conf
Kod: Zaznacz cały
/etc/apache2/apache2.conf
Kod: Zaznacz cały
/etc/apache2/httpd.conf
Kod: Zaznacz cały
/etc/apache2/apache2.conf
dałemponton pisze:A nie lepiej go wywalić i zainstalować na nowo?
Kod: Zaznacz cały
apt-get remove apache2
Kod: Zaznacz cały
apt-get remove --purge pakiet
Dalej to samo, stara zła konfiguracja jest. Proszę więc o pliki.AdeBe pisze:Kod: Zaznacz cały
apt-get remove --purge pakiet
Kod: Zaznacz cały
aptitude purge apache2
Kod: Zaznacz cały
aptitude remove --purge apache2
Kod: Zaznacz cały
apt-get install apache2 && apt-get remove --purge apache2
Kod: Zaznacz cały
apt-get install apache2
Kod: Zaznacz cały
ServerRoot "/etc/apache2"
LockFile /var/lock/apache2/accept.lock
PidFile ${APACHE_PID_FILE}
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 15
<IfModule mpm_prefork_module>
StartServers 5
MinSpareServers 5
MaxSpareServers 10
MaxClients 150
MaxRequestsPerChild 0
</IfModule>
<IfModule mpm_worker_module>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule>
User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}
AccessFileName .htaccess
<Files ~ "^\.ht">
Order allow,deny
Deny from all
</Files>
DefaultType text/plain
HostnameLookups Off
ErrorLog /var/log/apache2/error.log
LogLevel warn
Include /etc/apache2/mods-enabled/*.load
Include /etc/apache2/mods-enabled/*.conf
Include /etc/apache2/httpd.conf
Include /etc/apache2/ports.conf
LogFormat "%v:%p %h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" vhost_combined
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
LogFormat "%{User-agent}i" agent
CustomLog /var/log/apache2/other_vhosts_access.log vhost_combined
Include /etc/apache2/conf.d/
Include /etc/apache2/sites-enabled/