Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Error--email to welcome new members
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Error--email to welcome new members

 Post Reply Post Reply
Author
NickC View Drop Down
Newbie
Newbie


Joined: 29 April 2003
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote NickC Quote  Post ReplyReply Direct Link To This Post Topic: Error--email to welcome new members
    Posted: 06 May 2003 at 11:57am

Using 7.01

The auto-email sent to new members contains a link to the forum. The forum url ends with .../forum, instead of .../forum/default.asp

A url ending with  .../forum leads to an error page. Is it just my server? We get an error without default.asp

Or is the full address getting cut off in the auto-email because it's too long?

 

Back to Top
PsYcHoCoP View Drop Down
Groupie
Groupie
Avatar

Joined: 13 May 2002
Location: Denmark
Status: Offline
Points: 105
Post Options Post Options   Thanks (0) Thanks(0)   Quote PsYcHoCoP Quote  Post ReplyReply Direct Link To This Post Posted: 06 May 2003 at 12:23pm
set your server to use default.asp for startpage, then it works:)
The spelling mistakes has been inserted automatically of consideration to the people who find a great pleasure to search for it
Back to Top
NickC View Drop Down
Newbie
Newbie


Joined: 29 April 2003
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote NickC Quote  Post ReplyReply Direct Link To This Post Posted: 06 May 2003 at 12:50pm

Thanks for the idea, but I don't have access to the server settings.

Can I revise the code so it includes default.asp in the welcome email message?

 

Back to Top
ljamal View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Status: Offline
Points: 888
Post Options Post Options   Thanks (0) Thanks(0)   Quote ljamal Quote  Post ReplyReply Direct Link To This Post Posted: 06 May 2003 at 4:45pm
figure out what the startpage is for your server and add that page with a redirect to the default.asp

or open register.asp
search for
strTxtEmailForumAt & " " & strForumPath

and add
&"/default.asp"
to the end of that line
so it reads:
strTxtEmailForumAt & " " & strForumPath&"/default.asp"
Back to Top
NickC View Drop Down
Newbie
Newbie


Joined: 29 April 2003
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote NickC Quote  Post ReplyReply Direct Link To This Post Posted: 06 May 2003 at 10:38pm

Thank you ljamal for the instructions.

Editing the code worked.

But I'm also curious, can you explain how to do the first option?: "figure out what the startpage is for your server and add that page with a redirect to the default.asp"

 

Back to Top
ljamal View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 16 April 2003
Status: Offline
Points: 888
Post Options Post Options   Thanks (0) Thanks(0)   Quote ljamal Quote  Post ReplyReply Direct Link To This Post Posted: 07 May 2003 at 6:46pm
Most servers are configured to have a page name that is configured as the default page for a directory. With an ASP server it's usually default.asp or index.asp or with ASP.NET default.aspx or index.aspx. This is the page that your web server will try to find if you do not specify a specific page such as in:
http://www.longbox.com/
with this server (my web site) the server is configured to go to default.asp so
http://www.longbox.com/ is actually http://www.longbox.com/default.asp

If your web server is not defaulting to default.asp the forums then most likely it's index.asp. Just call or email your web host to find out for sure. You may even be able to get then to change it. Once you find out what it is just create a file with the filename. Open the file and then write:
<% Response.Redirect "default.asp" %>
and it will redirect from filename.asp to default.asp
Back to Top
NickC View Drop Down
Newbie
Newbie


Joined: 29 April 2003
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote NickC Quote  Post ReplyReply Direct Link To This Post Posted: 07 May 2003 at 8:42pm

Thanks a lot for taking the time to explain that to a novice like me. I get it now, and will follow-up with the server administrator.

 

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.