[users@httpd] RE: [SPAM] Re: [users@httpd] RE: [SPAM] Re: [users@httpd] apache 2 showing jsp source codes

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

 



Dear Greg,

The reason why I say "we discover that sometimes apache will display" is
bcos the web-app normally will be served by resin. But as you keep on trying
to refresh and refresh for a number of times (usually >=5), the source code
will be printed on the browser as plain text.

- I am unable to spot any suspicious rules as I don't have any fancy fancy
stuff configured, the virtual host, ssl, and mod_rewrite seems to be working
fine (however, I assume it is fine because I get the result that I actually
wanted :D )
- It happens to all web-apps, I have 4 virtual hosts for this dedicated
apache 2 server.
- There are no difference between the working web-apps and not working
web-apps simply because all the web-apps have similar configurations. All 4
web-apps in my Apache 2 server faced the same symptoms.

Here is the snippet (however some of the values replaced):
<VirtualHost*:80>
  RewriteEngine on
  RewriteCond %{SERVER_PORT}   ^80$
  RewriteCond %{HTTP_HOST}   ^test\.some\.com$
  RewriteRule ^/(.*)         https://test.some.com/$1 [L,R]
  DocumentRoot /www/test
  ServerName test.some.com
  DirectoryIndex index.jsp
  ResinConfigServer 192.168.1.101 6802
  ResinConfigServer 192.168.1.102 6802
  CauchoStatus yes
</VirtualHost>

Hopefully I gave you more info this time :D
Thank you.

Warm Regards,
Jacky Wong

-----Original Message-----
From: Gregor Schneider [mailto:rc46fi@xxxxxxxxxxxxxx] 
Sent: Thursday, September 07, 2006 5:27 PM
To: users@xxxxxxxxxxxxxxxx
Subject: [SPAM] Re: [users@httpd] RE: [SPAM] Re: [users@httpd] apache 2
showing jsp source codes

hi jacky,

you also wrote "we discover that sometimes apache will display" - are
you able to specify this "sometimes"? can you spot any rules when this
happens? is it for a certain wep-app only? only a certain url? if so,
what's the difference between the working wep-apps and the wep-apps
not working? i guess if you figure out those questions, you might
already be clods to the solution of your problem, and hopefully the
resin-group will help you demystify the rest of your problem.

cheers

greg
-- 
what's puzzlin' you, is the nature of my game

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux