View Full Version : Ah!!!!! Server Scripts!!!!
Rockonmetal
03-28-2007, 10:51 PM
Ok, so why is it that I can view server scripts on a website like this, but not when i have it on my computer (no server just testing)...
if u want the attached file its below. PLEASE HELP! I TRIED FIREFOX. it didn't work.
Do i need to download yet another program to view asp, php, cgi, files from my comp? IF SO PLEASE LINK TO THE EGGSACT (exact) LOCATION OF THE DOWNLOAD. If u are to lazy, tell me what to get! THANK YOU!
Sorry for the exclamation marks!:p
here is the html page:
thetestingsite
03-28-2007, 10:58 PM
Ok, so why is it that I can view server scripts on a website like this, but not when i have it on my computer (no server just testing)
What do you mean by "view the server scripts"? Do you mean you can see the scripts in action or the source on a website and not on your computer or something completely different? If the first, you may want to look into installing a server (hence "server-side" scripts) on your computer.
Look into installing Apache (http://www.apache.org), Chili-asp (http://www.sun.com/software/chilisoft/), PHP (http://www.php.net) (if you want), etc.
Hope this helps.
Rockonmetal
03-29-2007, 01:18 AM
Ok, i have ended up downloading net server and active javascript from sun. Am i set?
thetestingsite
03-29-2007, 01:21 AM
You should be (after installing and modifying the httpd.conf file so that asp files work with Apache, or course). Other than that, not sure what to tell you.
codeexploiter
03-29-2007, 04:13 AM
1. After setting up your web server store your file(s) inside the web publishing folder of your web server.
2. Access the required page using browser like the following:
http://localhost/yourpage.asp
* you can replace the localhost with your computer name.
* if you double click on the server side page then it won't open in the browser like the normal html pages.
Rockonmetal
04-12-2007, 05:37 PM
How do you get localhost/yourpage.asp????
boxxertrumps
04-12-2007, 07:10 PM
to get to your site, CLICK THIS LINK. (http://localhost/)
You should find either an index page or a list of the directory's contents.
ASP?
Ok, i have ended up downloading net server and active javascript from sun. Am i set?Yes, you're completely set to create powerful server-side pages using Active Javascript, whatever that may be.
There's no mention of ASP here :) To run ASP pages, you need either a copy of Microsoft IIS, or a copy of Sun's Chilisoft (http://www.sun.com/software/chilisoft/), both of which cost money (although IIS is included with Pro versions of Windows, I believe).
thetestingsite
04-13-2007, 12:07 AM
IIS is included with Pro versions of Windows, I believe.
You are correct. Windows XP Pro includes IIS, but you have to choice to install it (either when you do a fresh install, or later on in the Control Panel). Also, for ASP scripts, I would recommend using IIS for this.
Hope this helps.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.