IBM Edge Server: Criando Paginas de Erro Customizadas

From Wiki
Revision as of 18:15, 28 June 2012 by Ebasso (talk | contribs) (New page: == Colocando os arquivos em produção == Vá para o diretório de configuração do edge # cd /opt/ibm/edge/cp/server_root/pub/en_US Faça um backup do arquivos originais # mv error...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Colocando os arquivos em produção

Vá para o diretório de configuração do edge

# cd /opt/ibm/edge/cp/server_root/pub/en_US

Faça um backup do arquivos originais

# mv errorpages errorpages_orig

Crie o novo diretório

# mkdir erropages
# cd errorpages

Coloque os arquivos criados no novo diretório


Ajustando a configuração no ibmproxy.conf

Vá para o diretório de configuração do edge

# cd /opt/ibm/edge/cp/etc/en_US 

Edite o arquivo ibmproxy.conf

ErrorPage badrange              /errorpages/badrange.htmls
ErrorPage badredirect           /errorpages/badredirect.htmls
ErrorPage badrequest            /errorpages/badrequest.htmls
ErrorPage badscript             /errorpages/badscript.htmls
ErrorPage baduser               /errorpages/baduser.htmls
ErrorPage blocked               /errorpages/blocked.htmls
ErrorPage byrule                /errorpages/byrule.htmls
ErrorPage cacheexp              /errorpages/cacheexp.htmls
ErrorPage cachenoconn           /errorpages/cachenoconn.htmls
ErrorPage cachenotopened        /errorpages/cachenotopened.htmls
ErrorPage cacheonly             /errorpages/cacheonly.htmls
ErrorPage connectfail           /errorpages/connectfail.htmls
ErrorPage deletefailed          /errorpages/deletefailed.htmls
ErrorPage dirbrowse             /errorpages/dirbrowse.htmls
ErrorPage dirnobrowse           /errorpages/dirnobrowse.htmls
ErrorPage dotdot                /errorpages/dotdot.htmls
ErrorPage expectfailed          /errorpages/expectfailed.htmls
ErrorPage ftpanonloginrej       /errorpages/ftpanonloginrej.htmls
ErrorPage ftpauth               /errorpages/ftpauth.htmls
ErrorPage ftpbad220             /errorpages/ftpbad220.htmls
ErrorPage ftphpanonloginrej     /errorpages/ftphpanonloginrej.htmls
ErrorPage ftphpbad220           /errorpages/ftphpbad220.htmls
ErrorPage ftphploginrej         /errorpages/ftphploginrej.htmls
ErrorPage ftphpnoconnect        /errorpages/ftphpnoconnect.htmls
ErrorPage ftphpnoresponse       /errorpages/ftphpnoresponse.htmls
ErrorPage ftphpnosocket         /errorpages/ftphpnosocket.htmls
ErrorPage ftphpunreshost        /errorpages/ftphpunreshost.htmls
ErrorPage ftploginrej           /errorpages/ftploginrej.htmls
ErrorPage ftploginreq           /errorpages/ftploginreq.htmls
ErrorPage ftpnoconnect          /errorpages/ftpnoconnect.htmls
ErrorPage ftpnodata             /errorpages/ftpnodata.htmls
ErrorPage ftpnoresponse         /errorpages/ftpnoresponse.htmls
ErrorPage ftpnosocket           /errorpages/ftpnosocket.htmls
ErrorPage ftpunrechost          /errorpages/ftpunrechost.htmls
ErrorPage ftpunreshost          /errorpages/ftpunreshost.htmls
ErrorPage hpforbidden           /errorpages/hpforbidden.htmls
ErrorPage httpnodata            /errorpages/httpnodata.htmls
ErrorPage httpnoforward         /errorpages/httpnoforward.htmls
ErrorPage httpnosend            /errorpages/httpnosend.htmls
ErrorPage httpunreshost         /errorpages/httpunreshost.htmls
ErrorPage ipmask                /errorpages/ipmask.htmls
ErrorPage ipmaskproxy           /errorpages/ipmaskproxy.htmls
ErrorPage methoddisabled        /errorpages/methoddisabled.htmls
ErrorPage multifail             /errorpages/multifail.htmls
ErrorPage noaccess              /errorpages/noaccess.htmls
ErrorPage noacl                 /errorpages/noacl.htmls
ErrorPage nocachenoconn         /errorpages/nocachenoconn.htmls
ErrorPage noentry               /errorpages/noentry.htmls
ErrorPage noformat              /errorpages/noformat.htmls
ErrorPage nohostheader          /errorpages/nohostheader.htmls
ErrorPage noopen                /errorpages/noopen.htmls
ErrorPage nopartner             /errorpages/nopartner.htmls
ErrorPage norep                 /errorpages/norep.htmls
ErrorPage notallowed            /errorpages/notallowed.htmls
ErrorPage notauthorized         /errorpages/notauthorized.htmls
ErrorPage notfound              /errorpages/notfound.htmls
ErrorPage notmember             /errorpages/notmember.htmls
ErrorPage olproxnocontact       /errorpages/olproxnocontact.htmls
ErrorPage openfailed            /errorpages/openfailed.htmls
ErrorPage originbadresp         /errorpages/originbadresp.htmls
ErrorPage preconfail            /errorpages/preconfail.htmls
ErrorPage proxybadurl           /errorpages/proxybadurl.htmls
ErrorPage proxyfail             /errorpages/proxyfail.htmls
ErrorPage proxynotauth          /errorpages/proxynotauth.htmls
ErrorPage proxynotmember        /errorpages/proxynotmember.htmls
ErrorPage putfailed             /errorpages/putfailed.htmls
ErrorPage rchunkerror           /errorpages/rchunkerror.htmls
ErrorPage rchunkmemory          /errorpages/rchunkmemory.htmls
ErrorPage scriptinterr          /errorpages/scriptinterr.htmls
ErrorPage scriptio              /errorpages/scriptio.htmls
ErrorPage scriptnocomm          /errorpages/scriptnocomm.htmls
ErrorPage scriptnotfound        /errorpages/scriptnotfound.htmls
ErrorPage scriptnovari          /errorpages/scriptnovari.htmls
ErrorPage scriptstart           /errorpages/scriptstart.htmls
ErrorPage servermaperror        /errorpages/servermaperror.htmls
ErrorPage setuperror            /errorpages/setuperror.htmls
ErrorPage throttled             /errorpages/throttled.htmls
ErrorPage unknownmethod         /errorpages/unknownmethod.htmls
ErrorPage outputtimeout         /errorpages/outputtimeout.htmls

Salve e feche o arquivo

Reinicie o serviço

# service ibmproxy stop
# service ibmproxy start