test3.jsp content:
<%
String test1 = tm.getTest1();
%>
Test JSP
test1 = <%= test1 %>
TesMe.java content:
package teska.test2;
/**
* TestMe.java
* Creation date: (4/15/2008)
* @author: Courtenay Teska Race
*/
public class TestMe{
private String test1 = "this is test1";
/**
* TestMe constructor
*/
public TestMe(){
super();
}
public String getTest1(){
return test1;
}
}
server.xml data:
www.teska.net
teska.virtual.vps-host.net
Virtual host portion of httpd.conf file:
ScriptAlias /mail /var/www/cgi-bin/openwebmail/openwebmail.pl
ScriptAlias /cgi-bin/openwebmail /var/www/cgi-bin/openwebmail
Alias /openwebmail /var/www/html/openwebmail
ScriptAlias /cgi-bin/awstats /var/www/cgi-bin/awstats
Alias /awstats /var/www/html/awstats
ServerName teska.net
DocumentRoot /home/webadmin/teska.net/html
SuexecUserGroup webadmin webadmin
ServerAlias "www.teska.net" "teska.virtual.vps-host.net" "www.teska.virtual.vps-host.net"
ScriptAlias "/cgi-bin/" "/home/webadmin/teska.net/cgi-bin/"
CustomLog "/home/webadmin/teska.net/access_log" "combined"
ErrorLog "/home/webadmin/teska.net/error_log"
JkMount /*.jsp ajp13
JkMount /*.java ajp13
JkMount /*.class ajp13
JkMount /*.do ajp13
SetEnvIf Referer "^https?:\/\/69.89.8.218(\/|$)" prevent_hot_link
SetEnvIf Referer "^https?:\/\/teska.net(\/|$)" prevent_hot_link
SetEnvIf Referer "^https?:\/\/www.teska.net(\/|$)" prevent_hot_link
SetEnvIf Referer "^https?:\/\/teska.virtual.vps-host.net(\/|$)" prevent_hot_link
SetEnvIf Referer "^https?:\/\/www.teska.virtual.vps-host.net(\/|$)" prevent_hot_link
Order allow,deny
Allow from env=prevent_hot_link
Options Includes FollowSymLinks
AllowOverride All
|