[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache ainda sem solução...



O conf



ServerType standalone

ServerRoot /etc/apache

LockFile /var/lock/apache.lock

PidFile /var/run/apache.pid

ScoreBoardFile /var/run/apache.scoreboard

Timeout 300

KeepAlive On
MaxKeepAliveRequests 100

KeepAliveTimeout 15

MinSpareServers 5
MaxSpareServers 10

StartServers 5

MaxClients 150

MaxRequestsPerChild 100

#Listen 3000
#Listen 12.34.56.78:80
<IfModule mod_status.c>
 ExtendedStatus On
</IfModule>

Port 80

User www-data
Group www-data

ServerAdmin webmaster@localhost

DocumentRoot /servidor

<Directory />
   Options SymLinksIfOwnerMatch
   AllowOverride None
</Directory>

<Directory /servidor>
   AllowOverride None

   Order allow,deny
   Allow from all
</Directory>

<IfModule mod_userdir.c>
   UserDir public_html
   <Directory /home/*/public_html>
       AllowOverride FileInfo AuthConfig Limit
       Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
       <Limit GET POST OPTIONS PROPFIND>
           Order allow,deny
           Allow from all
       </Limit>
       <Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
           Order deny,allow
           Deny from all
       </Limit>
   </Directory>
</IfModule>

<IfModule mod_dir.c>
   DirectoryIndex index.html index.htm index.shtml index.cgi index.php
</IfModule>

AccessFileName .htaccess

<Files ~ "^\.ht">
   Order allow,deny
   Deny from all
</Files>

UseCanonicalName Off

TypesConfig /etc/mime.types

DefaultType text/plain

<IfModule mod_mime_magic.c>
   MIMEMagicFile /usr/share/misc/file/magic.mime
</IfModule>

HostnameLookups Off

ErrorLog /var/log/apache/error.log

LogLevel warn

CustomLog /var/log/apache/access.log combined

<IfModule mod_log_forensic.c>
ForensicLog /var/log/apache/forensic.log
</IfModule>

<IfModule mod_backtrace.c>
EnableExceptionHook On
</IfModule>

<IfModule mod_whatkilledus.c>
EnableExceptionHook On
</IfModule>


ServerSignature On
<IfModule mod_alias.c>
   Alias /icons/ /usr/share/apache/icons/

   <Directory /usr/share/apache/icons>
        Options Indexes MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
   </Directory>

   Alias /images/ /usr/share/images/

   <Directory /usr/share/images>
        Options MultiViews
        AllowOverride None
        Order allow,deny
        Allow from all
   </Directory>
</IfModule>
<IfModule mod_alias.c>
   ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

   <Directory /usr/lib/cgi-bin/>
       AllowOverride None
       Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
       Order allow,deny
       Allow from all
   </Directory>
</IfModule>
<IfModule mod_autoindex.c>
   AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip

   AddIconByType (TXT,/icons/text.gif) text/*
   AddIconByType (IMG,/icons/image2.gif) image/*
   AddIconByType (SND,/icons/sound2.gif) audio/*
   AddIconByType (VID,/icons/movie.gif) video/*

   AddIcon /icons/binary.gif .bin .exe
   AddIcon /icons/binhex.gif .hqx
   AddIcon /icons/tar.gif .tar
   AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
   AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
   AddIcon /icons/a.gif .ps .ai .eps
   AddIcon /icons/layout.gif .html .shtml .htm .pdf
   AddIcon /icons/text.gif .txt
   AddIcon /icons/c.gif .c
   AddIcon /icons/p.gif .pl .py
   AddIcon /icons/f.gif .for
   AddIcon /icons/dvi.gif .dvi
   AddIcon /icons/uuencoded.gif .uu
   AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
   AddIcon /icons/tex.gif .tex
   AddIcon /icons/bomb.gif core
   AddIcon /icons/deb.gif .deb

   AddIcon /icons/back.gif ..
   AddIcon /icons/hand.right.gif README
   AddIcon /icons/folder.gif ^^DIRECTORY^^
   AddIcon /icons/blank.gif ^^BLANKICON^^
   DefaultIcon /icons/unknown.gif

   ReadmeName README.html
   HeaderName HEADER.html


</IfModule>

<IfModule mod_mime.c>


   AddEncoding x-compress Z
   AddEncoding x-gzip gz tgz

   AddLanguage da .dk
   AddLanguage nl .nl
   AddLanguage en .en
   AddLanguage et .ee
   AddLanguage fr .fr
   AddLanguage de .de
   AddLanguage el .el
   AddLanguage it .it
   AddLanguage ja .ja
   AddCharset ISO-2022-JP .jis
   AddLanguage pl .po
   AddCharset ISO-8859-2 .iso-pl
   AddLanguage pt .pt
   AddLanguage pt-br .pt-br
   AddLanguage lb .lu
   AddLanguage ca .ca
   AddLanguage es .es
   AddLanguage sv .se
   AddLanguage cs .cz

   <IfModule mod_negotiation.c>
       LanguagePriority en da nl et fr de el it ja pl pt pt-br lb ca es sv
   </IfModule>

   AddType application/x-tar .tgz
   AddType image/bmp .bmp

   </IfModule>


</IfModule>

AddDefaultCharset on

<IfModule mod_setenvif.c>
   BrowserMatch "RealPlayer 4\.0" force-response-1.0
   BrowserMatch "Java/1\.0" force-response-1.0
   BrowserMatch "JDK/1\.0" force-response-1.0
</IfModule>


<IfModule mod_perl.c>
 <IfModule mod_alias.c>
  Alias /perl/ /var/www/perl/
 </IfModule>
 <Location /perl>
   SetHandler perl-script
   PerlHandler Apache::Registry
   Options +ExecCGI
 </Location>
</IfModule>

<IfModule mod_alias.c>
Alias /doc/ /usr/share/doc/
</IfModule>

<Location /doc>
 order deny,allow
 allow from 127.0.0.0/255.0.0.0
 Options Indexes FollowSymLinks MultiViews
</Location>


<IfModule mod_proxy.c>
</IfModule>

Include /etc/apache/conf.d




Marcelo Loiaco wrote:

perguntinha tosca....

nem sei se jah fizeram por ae.... to pegando a thread agora pra ler :/
desculpa se tah sendo redundante....
mas... no /etc/apache/httpd.conf

ta aceitando todas as conexoes???
vc deve ta bloqueando alguma coisa lah...

qualquer coisa, posta ake seu conf (sem os coments do arquivo)....

valewsss.....


----- Original Message -----
From: "Gaspar Linux" <gasparlinux@terra.com.br>
To: <debian-user-portuguese@lists.debian.org>
Cc: <debian-user-portuguese@lists.debian.org>
Sent: Tuesday, November 01, 2005 12:59 PM
Subject: Re: Apache ainda sem solução...


Fala Márcio,


Value pela dica sobre como "subir" a placa de rede. Agora está ok, pelo
menos isso esta resolvido. Bem, quanto ao Apache, a "saga" continua. Não
conseguir acessar... mesmo usando localhost.localdomain...  "The
conection was refused when attempiting contact localhost.localdomain"...

PS: Estou usando o Debian mesmo, Sarge 3.1

Márcio Inácio Silva wrote:

Em Seg 31 Out 2005 23:00, Marcos Magalhães escreveu:


cara a sua máquina sabe resolver o localhost.localdomain se não coloca lá
no /etc/hosts

127.0.0.1 <http://127.0.0.1> localhost llocalhost.localdomain



Não sei se é isso mesmo não! :-)

Hostname Local Padrão. Christoph Haas descobriu que o hostname local padrão
após uma instalação é localhost.localdomain ao invés de simplesmente
localhost. Joey Hess explicou que a configuração já foi alterada após o
lançamento do sarge em reação ao Bug#247734.[1]

[],s

[1] - Fonte: http://www.debian.org/News/weekly/2005/43/





--
To UNSUBSCRIBE, email to debian-user-portuguese-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact
listmaster@lists.debian.org





Reply to: