473,323 Members | 1,537 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

Site Access

SAB
Hi,

I am using Windows 2000 server and set number of websites and ftp sites and
all seems working just fine. One site had an asp codes like the one below:

const MYSITE="http://www.domain.com"

The strange things is that it suppose to be like the shown above, but the
results comes as an error page. I change it to "http://domain.com" it work
without error page, but not exactly the results should be, then I added a
back slash at the end like "http://domain.com/" and works just fine and got
exact results it should be. The site configured in the IIS to work as with
and without www. The site works just fine in both www and without in the
browser but as I said a certain results for the script that included that
code shown above gave that results. Any idea, can you help in guiding me to
solve this issue.

Thank you very much in advance.

Best Regards
SAB
Jul 22 '05 #1
1 1200
On Mon, 11 Apr 2005 11:51:29 +0300, "SAB" <sa*@delmon.com> wrote:
I am using Windows 2000 server and set number of websites and ftp sites and
all seems working just fine. One site had an asp codes like the one below:

const MYSITE="http://www.domain.com"

The strange things is that it suppose to be like the shown above, but the
results comes as an error page. I change it to "http://domain.com" it work
without error page, but not exactly the results should be, then I added a
back slash at the end like "http://domain.com/" and works just fine and got
exact results it should be. The site configured in the IIS to work as with
and without www. The site works just fine in both www and without in the
browser but as I said a certain results for the script that included that
code shown above gave that results. Any idea, can you help in guiding me to
solve this issue.


Probably a coding issue. You assign MYSITE to a variable, but what
that is willd epend son how you use it. For example:

const MYSITE="http://www.domain.com"

MyPath1 = MYSITE & "/folder/filename.asp"
MyPath2 = MYSITE & "folder/filename.asp"

Response.Write Mypath1 & "<br>"
Response.Write Mypath2 & "<br>"

One is valid, one isn't.

Jeff
Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: Eric | last post by:
This is just a thought in my head at the moment and I wanted to get some opinions on an idea on how to design my web site. First, it would be a 100% (or very close to it) PHP site. The best...
5
by: NEWBIE in ABQ | last post by:
I have developed a WEB Application using Visual Studio VB.NET and it runs well on my development computer. I would like to run it from my personal WEB Page provider by my Internet Provider. I...
6
by: Jeremy S. | last post by:
Sorry if this is too far OT - I posted this in the IIS group and got no response - so here goes: What would be a good or recommended way to make a Web site in IIS6 inaccessible to users on the...
7
by: Markus | last post by:
Hi i'm trying to run a .Net web site perfectly working with .Net version 1.1 under visual studio 2005 beta 2. accessing the site using debug mode works smoothly but when i publish the site to a...
0
by: Mark | last post by:
I have an asp.net application that when accessed by users not using proxy servers there are no problems. When a user using a proxy tries to access the site they access the site ok but when they...
9
by: CK | last post by:
Hi All, I have a sharepoint site on a box. I can hit the box by going to the ip address http://10.0.0.1/default.aspx but I can not hit it by name. The password dialong box comes up and it rejects...
25
by: Peter Michaux | last post by:
Hi, There have been a few suggestions for changing the format of the FAQ site to make it easier to maintain. VK suggested and XML procedure. Matt Kruse suggested a wiki. I think something...
1
by: deniel | last post by:
I need help, my company has internal website that is published by IIS and accessed throughout the company's intranet network. It's been working well for more than a year. Last monday, out of the...
16
by: Ben Sehara | last post by:
Is there any way I can limit the access to my website? I have a site "A" and I want to allow access to it only from site "B" login user. If someone try to access site "A" directory, I want it...
1
by: Handle | last post by:
I want to customize some aspx / ascx files of a precompiled site (the project portofolio web access site). I have no access to source code. Using Visual Studio, when I try to edit one these files...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.