: 27 września 2011, 18:35
lessmian2, sam znalazłem tę stronę potem link dostałem od r0stera. Nic.
Nigdy wcześniej nie miałem z tym problemów. Instalowałem odpalałem a2enmod, userdir - żyć nie umierać.
/etc/apache2/mods-available/php5.conf:
Kombinowałem coś więc mogą być byki.
/etc/apache2/httpd.conf - jest pusty. Chyba tak nie powinno być.
.htaccess w public_html - brak.
error.log
Coś kombinowałem przed chwilą z a2enmod php5 i teraz apache nie chce wstać.
Nigdy wcześniej nie miałem z tym problemów. Instalowałem odpalałem a2enmod, userdir - żyć nie umierać.
/etc/apache2/mods-available/php5.conf:
Kod: Zaznacz cały
<IfModule mod_php5.c>
<FilesMatch "\.ph(p3?|tml)$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>
# To re-enable php in user directories comment the following lines
# (from <IfModule ...> to </IfModule>.) Do NOT set it to On as it
# prevents .htaccess files from disabling it.
<IfModule mod_userdir.c>
<Directory /home/*/public_html>
php_admin_value engine On
</Directory>
</IfModule>
</IfModule>
/etc/apache2/httpd.conf - jest pusty. Chyba tak nie powinno być.
.htaccess w public_html - brak.
error.log
Kod: Zaznacz cały
[Tue Sep 27 15:32:12 2011] [error] [client 127.0.0.1] File does not exist: /home/wiktor/public_html/szablon/index.php, referer: http://localhost/~wiktor/szablon/index.html
[Tue Sep 27 15:32:30 2011] [error] [client 127.0.0.1] File does not exist: /var/www/media, referer: http://localhost/~wiktor/szablon/index.html
[Tue Sep 27 15:32:30 2011] [error] [client 127.0.0.1] File does not exist: /var/www/media, referer: http://localhost/~wiktor/szablon/index.html
[Tue Sep 27 15:32:30 2011] [error] [client 127.0.0.1] File does not exist: /var/www/templates, referer: http://localhost/~wiktor/szablon/index.html
[Tue Sep 27 15:32:30 2011] [error] [client 127.0.0.1] File does not exist: /var/www/templates, referer: http://localhost/~wiktor/szablon/index.html
[Tue Sep 27 15:32:30 2011] [error] [client 127.0.0.1] File does not exist: /var/www/templates, referer: http://localhost/~wiktor/szablon/index.html
[Tue Sep 27 15:32:30 2011] [error] [client 127.0.0.1] File does not exist: /var/www/media, referer: http://localhost/~wiktor/szablon/index.html
[Tue Sep 27 15:32:30 2011] [error] [client 127.0.0.1] File does not exist: /var/www/templates, referer: http://localhost/~wiktor/szablon/index.html
[Tue Sep 27 15:32:30 2011] [error] [client 127.0.0.1] File does not exist: /var/www/templates, referer: http://localhost/~wiktor/szablon/index.html
[Tue Sep 27 15:32:30 2011] [error] [client 127.0.0.1] File does not exist: /var/www/templates, referer: http://localhost/~wiktor/szablon/index.html
[Tue Sep 27 15:32:44 2011] [error] [client 127.0.0.1] File does not exist: /var/www/media, referer: http://localhost/~wiktor/szablon/index.html
[Tue Sep 27 15:32:44 2011] [error] [client 127.0.0.1] File does not exist: /var/www/media, referer: http://localhost/~wiktor/szablon/index.html
[Tue Sep 27 15:32:44 2011] [error] [client 127.0.0.1] File does not exist: /var/www/templates, referer: http://localhost/~wiktor/szablon/index.html
[Tue Sep 27 15:32:44 2011] [error] [client 127.0.0.1] File does not exist: /var/www/templates, referer: http://localhost/~wiktor/szablon/index.html
[Tue Sep 27 15:32:44 2011] [error] [client 127.0.0.1] File does not exist: /var/www/templates, referer: http://localhost/~wiktor/szablon/index.html
[Tue Sep 27 15:32:44 2011] [error] [client 127.0.0.1] File does not exist: /var/www/media, referer: http://localhost/~wiktor/szablon/index.html
[Tue Sep 27 15:32:44 2011] [error] [client 127.0.0.1] File does not exist: /var/www/templates, referer: http://localhost/~wiktor/szablon/index.html
[Tue Sep 27 15:32:44 2011] [error] [client 127.0.0.1] File does not exist: /var/www/templates, referer: http://localhost/~wiktor/szablon/index.html
[Tue Sep 27 15:32:44 2011] [error] [client 127.0.0.1] File does not exist: /var/www/templates, referer: http://localhost/~wiktor/szablon/index.html
[Tue Sep 27 16:24:28 2011] [notice] caught SIGTERM, shutting down
[Tue Sep 27 16:24:29 2011] [notice] Apache/2.2.17 (Ubuntu) PHP/5.3.5-1ubuntu7.2 with Suhosin-Patch configured -- resuming normal operations
[Tue Sep 27 16:38:35 2011] [notice] caught SIGTERM, shutting down
[Tue Sep 27 18:14:24 2011] [notice] Apache/2.2.17 (Ubuntu) PHP/5.3.5-1ubuntu7.2 with Suhosin-Patch configured -- resuming normal operations