apache

1. apache

vandilson
vandilson

(usa Linux Mint)

Enviado em 31/12/2014 - 08:39h

Amigos,
Tenho um CentOS 5.86_64 com Apache + PHP, e o apache nao esta conhecendo automaticamente o INDEX.PHP, tenho que digitar a linha inteira, ja verifiquei o /etc//httpd/httpd.conf e o arquivo /etc/httpd/conf.d/php.conf e estao aparentemente corretos quando adiciono o indereço no navegador fica em branco. O que pode estar acontecendo? Alguem pode me ajudar?



  


2. Re: apache

Perfil removido
removido

(usa Nenhuma)

Enviado em 31/12/2014 - 09:13h

No "httpd.conf" encontre DirectoryIndex e adicione:

Ex.:
DirectoryIndex index.html index.php 



3. nao deu certo

vandilson
vandilson

(usa Linux Mint)

Enviado em 31/12/2014 - 10:04h

amigo nao deu certo eu ja fiz isso,mudei as permisões e nada quando instalo quelquer coisa que tem index.php redireciona para pagia em brandco
ver ai ===>> http://192.227.141.161/dl/


4. Re: apache

Buckminster
buckminster

(usa Debian)

Enviado em 31/12/2014 - 10:12h

Se teu servidor é local, quando tu digita localhost no navegador aparece o que?


5. Re: apache

M4iir1c10
m4iir1c10

(usa Arch Linux)

Enviado em 31/12/2014 - 10:30h

O seu conteudo tem que estar na pasta /var/www/html/ e pertencer ao usuario apache ou www-data, depende de qual o apache configurou, abra o arquivo de configuracao do apache e procure o usuario padrao... todos os arquivos que voce colocar na pasta /var/www/html tem que pertencer a esse ususario.

voce pode mudar a permissao assim:

sudo chown -R apache:apache /var/www/html
ou
sudo chown -R www-data:www-data /var/www/html


Caso nao seja esse problema voce pode ver o arquivo /var/log/httpd/error_log se o log e gravado em outro lugar voce vai saber vendo o arquivo de configuracao do apache.

/etc/httpd/httpd.conf e /etc/httpd/conf.d/ tem as configuracao do seu apache.


6. olha buckminster

vandilson
vandilson

(usa Linux Mint)

Enviado em 31/12/2014 - 10:49h

buckminster quando adiciono localhost no navegadro dar isso Esta página da web não está disponível


7. amigo

vandilson
vandilson

(usa Linux Mint)

Enviado em 31/12/2014 - 10:55h

amigo m4iir1c10 na pasta /var/www/html/ e pertencer ao usuario apache e nao a www-data

e os erro que aparec no aqruivo erro_log são esses

[Tue Dec 30 13:58:39 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Dec 30 13:58:39 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Dec 30 13:58:39 2014] [notice] Digest: done
[Tue Dec 30 13:58:39 2014] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Tue Dec 30 13:58:54 2014] [notice] caught SIGTERM, shutting down
[Tue Dec 30 13:59:16 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Dec 30 13:59:16 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Dec 30 13:59:16 2014] [notice] Digest: done
[Tue Dec 30 13:59:16 2014] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Tue Dec 30 14:03:44 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 14:03:46 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Tue Dec 30 14:03:46 2014] [error] [client 177.125.118.16] File does not exist: /var/www/html/favicon.ico
[Tue Dec 30 14:03:58 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 14:03:59 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Tue Dec 30 14:06:32 2014] [notice] caught SIGTERM, shutting down
[Tue Dec 30 14:06:34 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Dec 30 14:06:34 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Dec 30 14:06:34 2014] [notice] Digest: done
[Tue Dec 30 14:06:34 2014] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Tue Dec 30 14:07:34 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 14:07:35 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Tue Dec 30 14:10:15 2014] [notice] caught SIGTERM, shutting down
[Tue Dec 30 14:10:16 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Dec 30 14:10:16 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Dec 30 14:10:16 2014] [notice] Digest: done
[Tue Dec 30 14:10:17 2014] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Tue Dec 30 14:11:47 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 14:11:48 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Tue Dec 30 14:15:57 2014] [notice] caught SIGTERM, shutting down
[Tue Dec 30 14:16:00 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Dec 30 14:16:00 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Dec 30 14:16:00 2014] [notice] Digest: done
[Tue Dec 30 14:16:00 2014] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Tue Dec 30 14:16:07 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 14:16:07 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Tue Dec 30 14:20:21 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 14:20:21 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Tue Dec 30 14:23:57 2014] [error] [client 5.196.0.123] File does not exist: /var/www/html/favicon.ico
[Tue Dec 30 14:23:59 2014] [error] [client 5.196.0.123] File does not exist: /var/www/html/favicon.ico
[Tue Dec 30 14:28:54 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 14:28:55 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Tue Dec 30 15:53:48 2014] [error] [client 177.125.118.16] File does not exist: /var/www/html/mastervnl
[Tue Dec 30 17:23:52 2014] [error] [client 177.125.118.16] File does not exist: /var/www/html/dl
[Tue Dec 30 17:23:58 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 17:23:59 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Tue Dec 30 17:26:42 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 17:26:43 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Tue Dec 30 17:29:08 2014] [notice] caught SIGTERM, shutting down
[Tue Dec 30 17:35:00 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Dec 30 17:35:00 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Dec 30 17:35:00 2014] [notice] Digest: done
[Tue Dec 30 17:35:00 2014] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Tue Dec 30 17:35:09 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 17:35:10 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Tue Dec 30 17:36:46 2014] [notice] caught SIGTERM, shutting down
[Tue Dec 30 17:36:47 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Dec 30 17:36:48 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Dec 30 17:36:48 2014] [notice] Digest: done
[Tue Dec 30 17:36:48 2014] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Tue Dec 30 17:36:55 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 17:36:57 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Tue Dec 30 17:41:15 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 17:41:16 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Tue Dec 30 17:41:28 2014] [notice] caught SIGTERM, shutting down
[Tue Dec 30 17:41:28 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Dec 30 17:41:28 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Dec 30 17:41:28 2014] [notice] Digest: done
[Tue Dec 30 17:41:29 2014] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Tue Dec 30 17:42:39 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 17:42:39 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
which: no gcc in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no lcc in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no cc in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no ruby in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no bzip in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no nc in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no suidperl in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no kav in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no nod32 in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no bdcored in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no uvscan in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no sav in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no drwebd in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no clamd in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no rkhunter in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no chkrootkit in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no ipfw in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no tripwire in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no shieldcc in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no portsentry in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no snort in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no ossec in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no lidsadm in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no tcplodg in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no sxid in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no logcheck in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no logwatch in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no sysmask in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no zmbscap in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no sawmill in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no wormscan in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no ninja in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no fetch in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no links in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no get in (/sbin:/usr/sbin:/bin:/usr/bin)
which: no lwp-mirror in (/sbin:/usr/sbin:/bin:/usr/bin)
[Tue Dec 30 17:53:20 2014] [error] [client 177.125.118.16] File does not exist: /var/www/html/mastervnl
[Tue Dec 30 18:09:32 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 18:09:33 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Tue Dec 30 18:09:35 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 18:09:36 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Tue Dec 30 19:08:28 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 19:08:29 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Tue Dec 30 19:10:13 2014] [error] [client 182.254.158.222] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 19:42:13 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 19:42:14 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Tue Dec 30 19:52:15 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 19:52:17 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Tue Dec 30 20:04:48 2014] [notice] caught SIGTERM, shutting down
[Tue Dec 30 20:04:49 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue Dec 30 20:04:49 2014] [notice] Digest: generating secret for digest authentication ...
[Tue Dec 30 20:04:49 2014] [notice] Digest: done
[Tue Dec 30 20:04:49 2014] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Tue Dec 30 20:04:54 2014] [error] [client 177.125.118.16] File does not exist: /var/www/html/dl
[Tue Dec 30 20:14:39 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 20:14:41 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Tue Dec 30 20:29:48 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Tue Dec 30 20:29:48 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Tue Dec 30 20:46:22 2014] [error] [client 177.125.118.16] File does not exist: /var/www/html/icons
[Tue Dec 30 20:46:49 2014] [error] [client 177.125.118.16] File does not exist: /var/www/html/html
[Tue Dec 30 21:05:04 2014] [error] [client 177.125.118.16] script '/var/www/html/info.php' not found or unable to stat
[Tue Dec 30 21:12:10 2014] [error] [client 177.125.118.16] File does not exist: /var/www/html/dl
[Tue Dec 30 21:12:13 2014] [error] [client 177.125.118.16] File does not exist: /var/www/html/dl
[Tue Dec 30 21:44:22 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/muieblackcat
[Tue Dec 30 21:44:38 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/admin
[Tue Dec 30 21:44:43 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/admin
[Tue Dec 30 21:44:44 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/db
[Tue Dec 30 21:44:50 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/dbadmin
[Tue Dec 30 21:44:54 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/myadmin
[Tue Dec 30 21:45:04 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/typo3
[Tue Dec 30 21:45:06 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/phpadmin
[Tue Dec 30 21:45:09 2014] [error] [client 203.195.163.188] client denied by server configuration: /usr/share/phpmyadmin/scripts/setup.php
[Tue Dec 30 21:45:18 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/phpmyadmin1
[Tue Dec 30 21:45:28 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/pma
[Tue Dec 30 21:45:38 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/php-my-admin
[Tue Dec 30 21:45:39 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/websql
[Tue Dec 30 21:45:40 2014] [error] [client 203.195.163.188] client denied by server configuration: /usr/share/phpmyadmin/scripts/setup.php
[Tue Dec 30 21:45:40 2014] [error] [client 203.195.163.188] client denied by server configuration: /usr/share/phpmyadmin/scripts/setup.php
[Tue Dec 30 21:45:43 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/phpMyAdmin-2
[Tue Dec 30 21:45:43 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/php-my-admin
[Tue Dec 30 21:45:49 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/phpMyAdmin-2.5.5
[Tue Dec 30 21:45:54 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/phpMyAdmin-2.5.5-pl1
[Tue Dec 30 21:53:57 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/muieblackcat
[Tue Dec 30 21:53:58 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/scripts
[Tue Dec 30 21:53:59 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/admin
[Tue Dec 30 21:54:00 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/admin
[Tue Dec 30 21:54:10 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/myadmin
[Tue Dec 30 21:54:25 2014] [error] [client 203.195.163.188] client denied by server configuration: /usr/share/phpmyadmin/scripts/setup.php
[Tue Dec 30 21:54:26 2014] [error] [client 203.195.163.188] client denied by server configuration: /usr/share/phpmyadmin/scripts/setup.php
[Tue Dec 30 21:54:27 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/phpmyadmin1
[Tue Dec 30 21:54:30 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/phpmyadmin2
[Tue Dec 30 21:54:30 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/mysql
[Tue Dec 30 21:54:32 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/pma
[Tue Dec 30 21:54:36 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/web
[Tue Dec 30 21:54:40 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/web
[Tue Dec 30 21:54:44 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/websql
[Tue Dec 30 21:54:46 2014] [error] [client 203.195.163.188] client denied by server configuration: /usr/share/phpmyadmin/scripts/setup.php
[Tue Dec 30 21:54:48 2014] [error] [client 203.195.163.188] client denied by server configuration: /usr/share/phpmyadmin/scripts/setup.php
[Tue Dec 30 21:54:48 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/phpMyAdmin-2
[Tue Dec 30 21:54:50 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/php-my-admin
[Tue Dec 30 21:54:51 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/phpMyAdmin-2.5.5
[Tue Dec 30 21:54:52 2014] [error] [client 203.195.163.188] File does not exist: /var/www/html/phpMyAdmin-2.5.5-pl1
[Tue Dec 30 22:07:02 2014] [error] [client 212.227.108.121] File does not exist: /var/www/html/etc
[Wed Dec 31 01:24:04 2014] [error] [client 122.161.210.170] script '/var/www/html/open.php' not found or unable to stat
[Wed Dec 31 01:27:25 2014] [error] [client 122.161.210.170] script '/var/www/html/open.php' not found or unable to stat
[Wed Dec 31 02:12:59 2014] [error] [client 64.233.173.226] script '/var/www/html/open.php' not found or unable to stat
[Wed Dec 31 02:15:06 2014] [error] [client 64.233.173.222] script '/var/www/html/open.php' not found or unable to stat
[Wed Dec 31 02:37:23 2014] [error] [client 59.161.10.171] script '/var/www/html/open.php' not found or unable to stat
[Wed Dec 31 03:27:58 2014] [error] [client 203.27.235.113] script '/var/www/html/open.php' not found or unable to stat
[Wed Dec 31 03:29:45 2014] [error] [client 61.160.223.75] File does not exist: /var/www/html/manager
[Wed Dec 31 04:08:06 2014] [error] [client 64.233.173.226] script '/var/www/html/open.php' not found or unable to stat
[Wed Dec 31 04:08:12 2014] [error] [client 27.251.17.194] script '/var/www/html/link.php' not found or unable to stat
[Wed Dec 31 04:08:13 2014] [error] [client 27.251.17.194] File does not exist: /var/www/html/favicon.ico
[Wed Dec 31 04:08:23 2014] [error] [client 27.251.17.194] script '/var/www/html/link.php' not found or unable to stat
[Wed Dec 31 04:08:28 2014] [error] [client 27.251.17.194] script '/var/www/html/link.php' not found or unable to stat
[Wed Dec 31 04:08:56 2014] [error] [client 64.233.173.226] script '/var/www/html/open.php' not found or unable to stat
[Wed Dec 31 04:13:15 2014] [error] [client 64.233.173.222] script '/var/www/html/open.php' not found or unable to stat
[Wed Dec 31 04:34:57 2014] [error] [client 64.233.173.222] script '/var/www/html/open.php' not found or unable to stat
[Wed Dec 31 04:35:04 2014] [error] [client 64.233.173.226] script '/var/www/html/open.php' not found or unable to stat
[Wed Dec 31 05:10:51 2014] [error] [client 122.177.145.43] File does not exist: /var/www/html/admin
[Wed Dec 31 05:10:56 2014] [error] [client 122.177.145.43] File does not exist: /var/www/html/favicon.ico
[Wed Dec 31 05:10:57 2014] [error] [client 122.177.145.43] File does not exist: /var/www/html/favicon.ico
[Wed Dec 31 05:13:07 2014] [error] [client 177.125.118.16] File does not exist: /var/www/html/dl
[Wed Dec 31 05:13:08 2014] [error] [client 177.125.118.16] File does not exist: /var/www/html/favicon.ico
[Wed Dec 31 05:14:11 2014] [error] [client 177.125.118.16] File does not exist: /var/www/html/dl
[Wed Dec 31 05:14:52 2014] [error] [client 177.125.118.16] File does not exist: /var/www/html/dl
[Wed Dec 31 05:31:13 2014] [notice] caught SIGTERM, shutting down
[Wed Dec 31 05:31:16 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Dec 31 05:31:16 2014] [notice] Digest: generating secret for digest authentication ...
[Wed Dec 31 05:31:16 2014] [notice] Digest: done
[Wed Dec 31 05:31:20 2014] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed Dec 31 05:46:08 2014] [notice] caught SIGTERM, shutting down
[Wed Dec 31 05:46:08 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Dec 31 05:46:08 2014] [notice] Digest: generating secret for digest authentication ...
[Wed Dec 31 05:46:08 2014] [notice] Digest: done
[Wed Dec 31 05:46:08 2014] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed Dec 31 05:49:23 2014] [notice] caught SIGTERM, shutting down
[Wed Dec 31 05:49:56 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Dec 31 05:49:56 2014] [notice] Digest: generating secret for digest authentication ...
[Wed Dec 31 05:49:56 2014] [notice] Digest: done
[Wed Dec 31 05:49:56 2014] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed Dec 31 05:50:00 2014] [notice] caught SIGTERM, shutting down
[Wed Dec 31 05:50:00 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Dec 31 05:50:00 2014] [notice] Digest: generating secret for digest authentication ...
[Wed Dec 31 05:50:00 2014] [notice] Digest: done
[Wed Dec 31 05:50:00 2014] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed Dec 31 05:50:04 2014] [notice] caught SIGTERM, shutting down
[Wed Dec 31 05:50:07 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Dec 31 05:50:07 2014] [notice] Digest: generating secret for digest authentication ...
[Wed Dec 31 05:50:07 2014] [notice] Digest: done
[Wed Dec 31 05:50:07 2014] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed Dec 31 05:50:58 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Wed Dec 31 05:50:58 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Wed Dec 31 05:52:32 2014] [error] [client 106.51.131.99] File does not exist: /var/www/html/favicon.ico
[Wed Dec 31 05:52:57 2014] [error] [client 106.51.131.99] File does not exist: /var/www/html/dl.zip, referer: http://192.227.141.161/
[Wed Dec 31 05:52:57 2014] [error] [client 106.51.131.99] File does not exist: /var/www/html/dl.zip
[Wed Dec 31 05:52:58 2014] [error] [client 106.51.131.99] File does not exist: /var/www/html/dl.zip
[Wed Dec 31 05:53:02 2014] [error] [client 106.51.131.99] Directory index forbidden by Options directive: /var/www/html/
[Wed Dec 31 05:53:03 2014] [error] [client 106.51.131.99] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Wed Dec 31 05:53:10 2014] [error] [client 106.51.131.99] script '/var/www/html/unzip.php' not found or unable to stat
[Wed Dec 31 05:56:40 2014] [error] [client 177.125.118.16] File does not exist: /var/www/html/dl
[Wed Dec 31 06:20:23 2014] [error] [client 94.102.53.186] script '/var/www/html/wp-login.php' not found or unable to stat
[Wed Dec 31 06:20:24 2014] [error] [client 94.102.53.186] File does not exist: /var/www/html/blog
[Wed Dec 31 06:20:25 2014] [error] [client 94.102.53.186] File does not exist: /var/www/html/wordpress
[Wed Dec 31 06:20:28 2014] [error] [client 94.102.53.186] File does not exist: /var/www/html/wp
[Wed Dec 31 06:21:27 2014] [notice] caught SIGTERM, shutting down
[Wed Dec 31 06:30:29 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Dec 31 06:30:29 2014] [notice] Digest: generating secret for digest authentication ...
[Wed Dec 31 06:30:29 2014] [notice] Digest: done
[Wed Dec 31 06:30:29 2014] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed Dec 31 06:30:35 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Wed Dec 31 06:30:36 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Wed Dec 31 06:31:11 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Wed Dec 31 06:31:11 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Wed Dec 31 06:31:27 2014] [notice] caught SIGTERM, shutting down
[Wed Dec 31 06:31:30 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Dec 31 06:31:30 2014] [notice] Digest: generating secret for digest authentication ...
[Wed Dec 31 06:31:30 2014] [notice] Digest: done
[Wed Dec 31 06:31:36 2014] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed Dec 31 06:33:32 2014] [notice] caught SIGTERM, shutting down
[Wed Dec 31 06:33:32 2014] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed Dec 31 06:33:32 2014] [notice] Digest: generating secret for digest authentication ...
[Wed Dec 31 06:33:32 2014] [notice] Digest: done
[Wed Dec 31 06:33:32 2014] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Wed Dec 31 07:06:14 2014] [error] [client 177.125.118.16] Directory index forbidden by Options directive: /var/www/html/
[Wed Dec 31 07:06:14 2014] [error] [client 177.125.118.16] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Wed Dec 31 07:10:46 2014] [error] [client 200.132.15.1] File does not exist: /var/www/html/favicon.ico
[Wed Dec 31 07:15:07 2014] [error] [client 66.249.88.173] File does not exist: /var/www/html/favicon.ico
[Wed Dec 31 07:24:21 2014] [error] [client 82.43.21.174] File does not exist: /var/www/html/favicon.ico
[Wed Dec 31 07:24:22 2014] [error] [client 82.43.21.174] File does not exist: /var/www/html/favicon.ico
[Wed Dec 31 07:24:26 2014] [error] [client 82.43.21.174] Directory index forbidden by Options directive: /var/www/html/
[Wed Dec 31 07:24:27 2014] [error] [client 82.43.21.174] File does not exist: /var/www/icons/powered_by_rh.png, referer: http://192.227.141.161/
[Wed Dec 31 07:31:28 2014] [error] [client 217.13.50.73] File does not exist: /var/www/html/user



8. Re: apache

M4iir1c10
m4iir1c10

(usa Arch Linux)

Enviado em 01/01/2015 - 02:30h

Entre na configuracao do apache, procure por esse codigo

Options +Indexes


E mude para esse

Options -Indexes


Basicamente oque esta acontecendo e que voce nao tem um arquivo de index e a opcao da sua configuracao esta proibindo visualizar pastas que nao tenham index.


9. Re: apache

M4iir1c10
m4iir1c10

(usa Arch Linux)

Enviado em 01/01/2015 - 03:03h

Tomei a liberdade de checar o teu server, voce esta rodando o apache como root. Isso e uma falta de seguranca e causa problemas de permissao.

Checa no terminal com o comando
egrep -i '^user|^group' /etc/httpd/conf/httpd.conf

se retornar outro nome mais nao apache, abra o arquivo /etc/httpd/conf/httpd.conf e modifique o usuario e grupo para apache.


10. apache

vandilson
vandilson

(usa Linux Mint)

Enviado em 01/01/2015 - 12:58h

amigo eu sou novato so uma pergunta como faço para entrar na confuguração do apache e mudar esse arquivo pode ser via ssh ou filezilla onde fica em qual pasta


11. Re: apache

M4iir1c10
m4iir1c10

(usa Arch Linux)

Enviado em 02/01/2015 - 09:43h

vandilson escreveu:

amigo eu sou novato so uma pergunta como faço para entrar na confuguração do apache e mudar esse arquivo pode ser via ssh ou filezilla onde fica em qual pasta


Se o seu servidor é um computador que voce pode acessar fisicamente, e so usar o terminal para acessar os arquivos que eu indiquei na minha primeira resposta /etc/httpd/httpd.conf e /etc/httpd/conf.d/ tem as configuracao do seu apache.
Se o computador não esta a seu alcance fisicamente e você é o dono do servidor use o terminal com ssh
Se você aluga de alguma empresa tipo hostgator, godaddy, etc. Entre em contato com eles e descreva oque voce quer usar... Nesse caso php.


12. Re: apache

Ede
ede_linux

(usa Ubuntu)

Enviado em 02/01/2015 - 14:20h

Olá,

Desculpem meter-me mas estou com um erro no apache pois não consigo alterar a pasta que o apache utiliza pois não encontro o arquivo httpd.conf.
Na minha instalação do apache também não encontro a pasta httpd na pasta etc! Porquê?

/etc/httpd/

A minha versão do apache é 2.4.10!
Obrigado e boa sorte



01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts