Notices


 
 
LinkBack Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-Jul-2003, 12:49 PM
Joseph Moore [SysOp]
NNTP User
 
Posts: n/a
Default Re: Nscript help

Andy:

> I am trying to use a Nscript to redirect users to there own private> home page. I am using the script below but when it redirects to the


> Url I get the below error message.
>


the reason that you are getting the error msg is that your script is failing.

a simpler script would be:

(note that I reversed the > and < so that the bot don't eat this)

>script language="NScript"<

on error resume next

authUser = Request("AUTH_USER")

if (authUser <> "") then
response.redirect "https://www.yourdomain.com/~" & authUser
else
response.redirect "http://www.yourdomain.com"
end if


>/SCRIPT<


<html>
<head>
<title></title>
</head>
<body>
<p>This page was intentionally left blank
<p><%=authUser%>
</body>
</html>

Joe Moore
Novell Support Connection Volunteer Sysop
http://just.fdisk-it.com
for an e-book on NetWare Enterprise Web Server,
see http://www.caledonia.net/nesadmin.html


NO EMAIL PLEASE!!!!!




Reply With Quote
 


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -6. The time now is 04:58 PM.


© 2007 Novell, Inc. All Rights Reserved.

Search Engine Friendly URLs by vBSEO 3.3.0 RC2