If you are running the Personal Web Server, Just run the web publishing wizard. It will create a home page for you and then you can see what directory the files are in. On my machine it is a directory called webpub. The url is dependent on your win95 login. Whatever user name you use when logging into win95 will be your url. For me it is http://tekguy/webpub\index.html
Hope this helps. Just use the wizard.
----------
My goal in life is found in Phillipians 4:8-9
I recently started a discussion about learning ASP and would like to thank all who responded. I have now figured out how to test ASP files from my own computer. I was told to look for Personal Web Server and after searching the internet for too long I found out that this comes with the Win98 CD.
Anyway now that I have it running I would like to know how I would go about setting up my personal computer as a web server?
How do I get a url for my machine?
What directory do I store HTML files in?
Could someone please explain what an intranet is? How are they used?
Any help in this area would be greatly appreciated. Thanks in advance.
sorry about the short answer, i'm in a hurry
setting it up as a web-server: not much to do about that, just get a network-interface and a connection... (chad, no comments please )
url for your machine: ask your ISP about a public IP adress, then buy your domain at internic
what directory: depends on the software you are running, on IIS it's c:\winnt\inetpub\wwwroot
intranet: an intranet is a website running on a local-network, there is no connection to the outside-world.
lloyd, if you are really interested in running your own server, just contact me via icq and i can sure tell you more about this, it's just too much to explain in this (still) tiny box
later
patrick
lloyd,
If you just want to learn ASP and not letting other ppl visit your web server, you don't need to buy a network interface card (NIC), connection, domain, and IP address. All you need is just set up the server and voila!
When you finish installing your PWS, just open up your browser and type in http://localhost or http://127.0.0.1
If you did not change the default installation path during installation. Your html files will be stored in C:\Inetpub\wwwroot
Hope this helps...
Joe Thong
Anonymous posted this at 03:29 — 21st October 1999.
Thanks for all your help. I now have ASP files working fine from my machine. I ran the web publishing wizard from PWS and it created a sample site for me with a guestbook. I have been playing around with the code and figuring out how it works.
I just tried using http://127.0.0.1 from my browser and that worked great. Thanks for the tip. Previously I had been launching the site from PWS manager. There are just a few more questions I would like to ask.
What does the Global.asa file do? Do you need to copy this file into every directory within wwwroot? What is the directory webpub for? What is the best - JScript or VBscript?
What does the Global.asa file do?
Sometimes when you create a ASP web application or web site, you need to tell the application what they should do when they start and end, this is where global.asa comes in handy. Do you need to copy this file into every directory within wwwroot?
No What is the directory webpub for?
Not sure What is the best - JScript or VBscript?
Frankly, although I know VBscript I still write every ASP application or web site using Jscript, VBscript just looks wrong without the neat little semi-colons at the end of each line. But the only problem is that ALL of the on-line documentation, and most of the print documentation, is written in VBScript, few of them are written in other languages. I would suggest learning VBscript to read the online ASP articles and embark using other Jscript after you have knew ASP well.
Hope this helps. Later.
Joe Thong
Anonymous posted this at 02:09 — 22nd October 1999.
<elara> Thanks for your help. I already know JScript fairly well so I think I will use it instead of VBScript. I have had a look at a few code samples written in VBScript and I can make sense out of most of it.
Are there limitations with JScript? ie. things that can't be done with JScript but can be done with VBScript.
lloydhass,
In fact Jscript has many advantages over VBscript such as regular expressions support, case sensitive, compile time evaluation - eval(), and don't have the 1024 character limit on strings.
FYI VBscript 5.0 has added regular expressions support.
Later.
Joe Thong
Anonymous posted this at 03:19 — 25th October 1999.
Thanks again. I have just been looking at linking to an Access database and was wondering if there are coding differences between VB & JS in this area. I have used the following VB code.
<%
Dim Connect, OnPeople
Set Connect = Server.CreateObject("ADODB.Connection" )
Connect.Open "PeopleDB"
Set OnPeople = Connect.Execute("SELECT * FROM PeopleTable" )
%>
Can I do the same thing with JS code? When you change from VB & JS in an ASP document do you need to specify what language your using? Can you combine VB & JS within the same function?
Hi,
Sorry for the late reply man, I never noticed your last post on this thread.
The translated code is at below:
var Connect, OnPeople
Connect = new Server.CreateObject("ADODB.Connection" );
Connect.Open("PeopleDB" );
OnPeople = Connect.Execute("SELECT * FROM PeopleTable" );
When you change from VB & JS in an ASP document do you need to specify what language your using?
let's say your default language is vbscript, if you decided to insert jscript in the middle of your asp application you will need to do like this:
<script language="jscript" runat="server">
//Your jscript code here
</script>
Thanks again. With all your help I have been able to create a great ASP homepage. Too bad I can't show it to you because my web space server doesn't support ASP.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.
Jim Shilt posted this at 23:20 — 19th October 1999.
They have: 268 posts
Joined: May 1999
If you are running the Personal Web Server, Just run the web publishing wizard. It will create a home page for you and then you can see what directory the files are in. On my machine it is a directory called webpub. The url is dependent on your win95 login. Whatever user name you use when logging into win95 will be your url. For me it is http://tekguy/webpub\index.html
Hope this helps. Just use the wizard.
----------
My goal in life is found in Phillipians 4:8-9
My goal in life is found in Phillipians 4:8-9
shoutingrock.org/troop214
Anonymous posted this at 01:45 — 20th October 1999.
They have: 5,633 posts
Joined: Jan 1970
I recently started a discussion about learning ASP and would like to thank all who responded. I have now figured out how to test ASP files from my own computer. I was told to look for Personal Web Server and after searching the internet for too long I found out that this comes with the Win98 CD.
Anyway now that I have it running I would like to know how I would go about setting up my personal computer as a web server?
How do I get a url for my machine?
What directory do I store HTML files in?
Could someone please explain what an intranet is? How are they used?
Any help in this area would be greatly appreciated. Thanks in advance.
----------
[email protected]
http://go.to/hass
Anonymous posted this at 03:35 — 20th October 1999.
They have: 5,633 posts
Joined: Jan 1970
sorry about the short answer, i'm in a hurry
setting it up as a web-server: not much to do about that, just get a network-interface and a connection... (chad, no comments please )
url for your machine: ask your ISP about a public IP adress, then buy your domain at internic
what directory: depends on the software you are running, on IIS it's c:\winnt\inetpub\wwwroot
intranet: an intranet is a website running on a local-network, there is no connection to the outside-world.
lloyd, if you are really interested in running your own server, just contact me via icq and i can sure tell you more about this, it's just too much to explain in this (still) tiny box
later
patrick
elara posted this at 18:40 — 20th October 1999.
They have: 112 posts
Joined: Apr 1999
lloyd,
If you just want to learn ASP and not letting other ppl visit your web server, you don't need to buy a network interface card (NIC), connection, domain, and IP address. All you need is just set up the server and voila!
When you finish installing your PWS, just open up your browser and type in http://localhost or http://127.0.0.1
If you did not change the default installation path during installation. Your html files will be stored in C:\Inetpub\wwwroot
Hope this helps...
Joe Thong
Anonymous posted this at 03:29 — 21st October 1999.
They have: 5,633 posts
Joined: Jan 1970
Thanks for all your help. I now have ASP files working fine from my machine. I ran the web publishing wizard from PWS and it created a sample site for me with a guestbook. I have been playing around with the code and figuring out how it works.
I just tried using http://127.0.0.1 from my browser and that worked great. Thanks for the tip. Previously I had been launching the site from PWS manager. There are just a few more questions I would like to ask.
What does the Global.asa file do?
Do you need to copy this file into every directory within wwwroot?
What is the directory webpub for?
What is the best - JScript or VBscript?
----------
[email protected]
http://go.to/hass
elara posted this at 22:15 — 21st October 1999.
They have: 112 posts
Joined: Apr 1999
Hi,
What does the Global.asa file do?
Sometimes when you create a ASP web application or web site, you need to tell the application what they should do when they start and end, this is where global.asa comes in handy.
Do you need to copy this file into every directory within wwwroot?
No
What is the directory webpub for?
Not sure
What is the best - JScript or VBscript?
Frankly, although I know VBscript I still write every ASP application or web site using Jscript, VBscript just looks wrong without the neat little semi-colons at the end of each line. But the only problem is that ALL of the on-line documentation, and most of the print documentation, is written in VBScript, few of them are written in other languages. I would suggest learning VBscript to read the online ASP articles and embark using other Jscript after you have knew ASP well.
Hope this helps. Later.
Joe Thong
Anonymous posted this at 02:09 — 22nd October 1999.
They have: 5,633 posts
Joined: Jan 1970
<elara> Thanks for your help. I already know JScript fairly well so I think I will use it instead of VBScript. I have had a look at a few code samples written in VBScript and I can make sense out of most of it.
Are there limitations with JScript? ie. things that can't be done with JScript but can be done with VBScript.
elara posted this at 23:50 — 22nd October 1999.
They have: 112 posts
Joined: Apr 1999
lloydhass,
In fact Jscript has many advantages over VBscript such as regular expressions support, case sensitive, compile time evaluation - eval(), and don't have the 1024 character limit on strings.
FYI VBscript 5.0 has added regular expressions support.
Later.
Joe Thong
Anonymous posted this at 03:19 — 25th October 1999.
They have: 5,633 posts
Joined: Jan 1970
Thanks again. I have just been looking at linking to an Access database and was wondering if there are coding differences between VB & JS in this area. I have used the following VB code.
<%
Dim Connect, OnPeople
Set Connect = Server.CreateObject("ADODB.Connection" )
Connect.Open "PeopleDB"
Set OnPeople = Connect.Execute("SELECT * FROM PeopleTable" )
%>
Can I do the same thing with JS code? When you change from VB & JS in an ASP document do you need to specify what language your using? Can you combine VB & JS within the same function?
elara posted this at 20:41 — 4th November 1999.
They have: 112 posts
Joined: Apr 1999
Hi,
Sorry for the late reply man, I never noticed your last post on this thread.
The translated code is at below:
var Connect, OnPeople
Connect = new Server.CreateObject("ADODB.Connection" );
Connect.Open("PeopleDB" );
OnPeople = Connect.Execute("SELECT * FROM PeopleTable" );
When you change from VB & JS in an ASP document do you need to specify what language your using?
let's say your default language is vbscript, if you decided to insert jscript in the middle of your asp application you will need to do like this:
<script language="jscript" runat="server">
//Your jscript code here
</script>
Hope this helps.
Later.
----------
http://phpdb.linuxbox.com/
A free database wrapper project!
<-- edited by Patrick Baer. Smiley problem, as usual -->
Anonymous posted this at 17:39 — 5th November 1999.
They have: 5,633 posts
Joined: Jan 1970
Thanks again. With all your help I have been able to create a great ASP homepage. Too bad I can't show it to you because my web space server doesn't support ASP.
----------
[email protected]
http://go.to/hass
Fazer84 posted this at 02:48 — 8th November 1999.
They have: 62 posts
Joined: May 1999
Same here, got a great ASP page, but web server doesn't support it....*sigh*....
----------
Casey Hansen
www.caseynet.com
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.