Re: lug-bg: Strange apache logs
- Subject: Re: lug-bg: Strange apache logs
- From: yavo@email.domain.hidden (Yavor Shahpasov)
- Date: Tue, 15 Jul 2003 11:57:10 +0300 (EEST)
Znachi po dolnoto ne uspia da poprechi na problem, iavno tova e ili apache
ili php bug.
moje da se chete tuka
http://bugs.php.net/bug.php?id=19113
lagaiki tova
<?
if( strtoupper($_SERVER['REQUEST_METHOD'])=="CONNECT"){
header("HTTP/1.1 405 Method Not Allowed");
die();
}
?>
v auto prepend mi reshi doniakade problemite, nadiavam se da e polezno na
niakoi.
Yavor
<em class="quotelev1">> Mersi za obiasneniata,
<em class="quotelev1">>
<em class="quotelev1">> za po luboznatelni she pisha kakvo (smiatam), che e stanalo
<em class="quotelev1">>
<em class="quotelev1">> sled kato porovih malko v internet se okazva che tova e problem na php s
<em class="quotelev1">> ErrorDocument koito sashto e php. Opitah da mahna ErrorDocument-a no pak
<em class="quotelev1">> mi pozvoliava da pravia connect, toest mi vrashta 200, obache pokazva si
<em class="quotelev1">> moiata stranitsa. Proxyto sam go mahnal otdavna i sam siguren che ne
<em class="quotelev1">> pravi relay.
<em class="quotelev1">>
<em class="quotelev1">> sled vsichko tova sam 99% obeden che niama problem no e vse oshte
<em class="quotelev1">> dosadno tova koeto stava
<em class="quotelev1">>
<em class="quotelev2">>> <Directory />
<em class="quotelev2">>> <LimitExcept GET POST>
<em class="quotelev2">>> Deny from all
<em class="quotelev2">>> </Limit>
<em class="quotelev2">>> </Directory>
<em class="quotelev1">>
<em class="quotelev1">> tova izglejda dobro reshenie i mai shte go priloja no parvo iskam da sam
<em class="quotelev1">> 100% siguren che naistina problem niama. znae li niakoi kak moga da
<em class="quotelev1">> proveria dali mi pravi relay. shte si poigraia oshte malko, ako niakoi
<em class="quotelev1">> ima idei da prashta .
<em class="quotelev1">>
<em class="quotelev1">> Yavor
<em class="quotelev1">>
<em class="quotelev1">>
<em class="quotelev1">> drugoto interesno
<em class="quotelev2">>> Yavor Shahpasov wrote:
<em class="quotelev3">>>> Zabeliazvam mnogo takiva ziavki na moiat web server
<em class="quotelev3">>>>
<em class="quotelev3">>>> 38.112.197.106 - - [13/Jul/2003:07:32:20 +0300] "CONNECT
<em class="quotelev3">>>> 203.170.228.138:25 HTTP/1.0" 200 86 "-" "-"
<em class="quotelev2">>>
<em class="quotelev2">>> Tova 200 kato resultat ot operaciata izobshto ne e na dobre. Oznachava
<em class="quotelev2">>> che sa si svarshili rabotata. Vizh dali imash razreshen mod_proxy v
<em class="quotelev2">>> configa na apche-to. Ako go imash po-dobre go secure-ni. Poveche
<em class="quotelev2">>> podrobnosti v dokumentaciata za mod_proxy na httpd.apache.org.
<em class="quotelev2">>>
<em class="quotelev2">>> Problema mozhesh da go reshish byrzo i grubo po sledniat nachin.
<em class="quotelev2">>> Dobavi vav httpd.conf slednite redove:
<em class="quotelev2">>>
<em class="quotelev2">>> <Directory />
<em class="quotelev2">>> <LimitExcept GET POST>
<em class="quotelev2">>> Deny from all
<em class="quotelev2">>> </Limit>
<em class="quotelev2">>> </Directory>
<em class="quotelev2">>>
<em class="quotelev2">>> Preporachvam na wseki koito iska secure instalacia na apache
<em class="quotelev2">>> da narpavi tova v kombinacia s
<em class="quotelev2">>>
<em class="quotelev2">>> <Directory />
<em class="quotelev2">>> Options None
<em class="quotelev2">>> AllowOverride None
<em class="quotelev2">>> Deny From All
<em class="quotelev2">>> </Directory>
<em class="quotelev2">>>
<em class="quotelev2">>> I sled tova za vsiaka direktoriata koito triabva da e vidima da
<em class="quotelev2">>> si nastroi dostapa, primerno
<em class="quotelev2">>>
<em class="quotelev2">>> <Directory /var/www>
<em class="quotelev2">>> Options Indexes
<em class="quotelev2">>> AllowOverride AuthConfig
<em class="quotelev2">>> Allow From All
<em class="quotelev2">>> </Directory>
<em class="quotelev2">>>
<em class="quotelev2">>> P.S. Za deistviata izvarshvani ot tova IP mozhesh da se oplachaesh na
<em class="quotelev2">>> OrgAbuseHandle: COGEN-ARIN
<em class="quotelev2">>> OrgAbuseName: Cogent Abuse
<em class="quotelev2">>> OrgAbusePhone: +1-877-875-4311
<em class="quotelev2">>> OrgAbuseEmail: abuse_at_cogentco.com
<em class="quotelev2">>> ne viarvam da ima niakakyv strashen efekt, no wse pak mozhe da im
<em class="quotelev2">>> pripari na zadnicite.
<em class="quotelev2">>>
<em class="quotelev2">>> Mail servera koito polzvat e v Thaiwan taka che i da im kazvash
<em class="quotelev2">>> niama da ima goliam smisal. V Asia e malyk uzhas s tezi otvoreni
<em class="quotelev2">>> mail
<em class="quotelev2">>> relay-ki.
<em class="quotelev2">>>
<em class="quotelev2">>>
<em class="quotelev2">>> --
<em class="quotelev2">>> Georgi Chorbadzhiyski
<em class="quotelev2">>> http://georgi.unixsol.org/
<em class="quotelev2">>>
<em class="quotelev2">>> ============================================================================
<em class="quotelev2">>> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
<em class="quotelev2">>> http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara
<em class="quotelev2">>> Zagora
<em class="quotelev2">>> To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
<em class="quotelev2">>> ============================================================================
<em class="quotelev2">>>
<em class="quotelev1">>
<em class="quotelev1">> ============================================================================
<em class="quotelev1">> A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
<em class="quotelev1">> http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara
<em class="quotelev1">> Zagora To unsubscribe:
<em class="quotelev1">> http://www.linux-bulgaria.org/public/mail_list.html
<em class="quotelev1">> ============================================================================
<p><p>============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|