Friday, February 22, 2013

apache weblogic 404

durum çok acayip not etmem şart. sayfa geliyor ama header da apache 404 veriyordu.

sayfa gelmesine rağmen http status de 404 veriyordu örnek curl çıktısı


[ecompileusr@commercetest ~]$ curl -si http://shopstable.turkcell.com.tr/|grep HTTP
HTTP/1.1 404 Not Found

bu aslen kimseyi bozmazda otomatik toollar ile işlemler yapıcaksanız veya çok acaip bi yerde garip bir javascript hatası verebilirdi. benim durumumda sorun sahi otomatize testlerde çıkmıştı neyse çözüm şöyle oldu.

virtual host tanımlarında

DirectoryIndex main.do  -->>bunu siliyoruz. 

weblogic modülünde

DefaultFileName                 main.do -->> olduğuna emin oluyoruz

birde apache documentroot da index.html dosyası create ediyoruz. artık headerda 200 sayfada başarılı olmuş oldu. main.do da benim uygulamamın ana sayfasıydı.

No comments:

C# scan cs file and find variables values and names

using Microsoft . CodeAnalysis ; using Microsoft . CodeAnalysis . CSharp ; using Microsoft . CodeAnalysis . CSharp . Syntax ; using Xunit . ...