[users@httpd] RE: [SPAM] Re: [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,

I agree with you, 404 is definitely better.

Anyway, I have found the solution.

Just modify your virtual host to something like this:

<VirtualHost ...>
...

    # do not remove, otherwise apache will serve the jsp source code once
resin is down
    AddHandler caucho-request .jsp

...
</VirtualHost>

Thank you all for the suggestions !

Warm Regards,
Jacky Wong

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

Jack,

you're better of with a 404 rather than the source, hm?

Take a look at the apache access-logs: What's the url causing a 404?
What's the url when getting a 200? Is there a difference?

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