Re: redirecting my page
Re: redirecting my page
- Subject: Re: redirecting my page
- From: Kieran Kelleher <email@hidden>
- Date: Fri, 19 Mar 2004 17:21:03 -0500
Here is what I do, but it depends on java script support, which is
pretty ubiquitous anyway.
The nice thing is that it appears transparent to the user without the
ugly redirect message. Just modify this for your URL or IP address and
copy and paste this into file named index.html and put it in
/Library/WebServer/Documents/ folder
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>YOUR WEBSITE NAME HERE</title>
<script type="text/javascript" language="javascript" charset="utf-8">
// <![CDATA[
window.location="http://<my ip address>/cgi-bi/WebObjects/xxx.woa"
// ]]>
</script>
</head>
<body bgcolor="#FFFFFF">
</body>
</html>
________________________________________________________________
Config = OS X 10.3.2 / Java 1.4.1 / WO 5.2.2 / MySQL 4.0.18 /
Connector-J 3.0.11
Blog: http://webobjects.webhop.org/
On Mar 19, 2004, at 4:03 PM, David LeBer wrote:
HTML redirect?
<html>
<head>
<meta http-equiv="REFRESH" content="3; URL="http://<my ip
address>/cgi-bi/WebObjects/xxx.woa">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p> You will be redirected to theApplication in 3 seconds, If your
browser doesn't automatically load, click <a href="http://<my ip
address>/cgi-bi/WebObjects/xxx.woa">HERE</a>.
</body>
</html>
On 19-Mar-04, at 3:02 PM, Kranthi Sagar Borra wrote:
Hi,
I wanted users to access my web objects application(http://<my ip
address>/cgi-bi/WebObjects/xxx.woa) when they give just
http://<my ip address>. Presently this is displaying me the
index.html file. So how can I change this default page.
Thank you
Regards,
Kranthi Sagar B,
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
;david
--
David LeBer
Codebase Software Systems
site: http://www.codebase.ca
blog: http://david.codebase.ca
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.