Click to See Complete Forum and Search --> : web server


khankaka
11-21-2002, 10:21 AM
can some one plz explain to me how i can use my pc as a webserver to test perl, php , and other codes on my pc with out gettting online.


do i have to install linux on my pc and if i do can i run perl, php, and other codes on linux. ?

Rodders
11-21-2002, 10:27 AM
You can run ASP providing you setup Personal Web Server (PWS) or IIS (can't remember what that stands for) on your PC. They are both available from the Microsoft website and you need to find out which is suitable for your operating system. I use WinME and PWS, but if you can use IIS you should as PWS is a cut down version of the software.

There's other software available but I think you have to buy it.

Can't help with PHP & Perl, but I'm aware of a few free hosts for PHP which could be useful. I currently host my site at a free host using PHP and MySQL.

cxema
11-21-2002, 05:28 PM
In my experience found Apache web server to be most reliable. You can certainly run PHP, ASP (use the Tomcat plugin), Perl etc. It is simple to set up around and offline environment whether is windows or unix.
Check http://www.apache.org as the documentation is extensive and very useful.

Zach Elfers
11-22-2002, 12:08 PM
Thanx! I've been looking for something like this.

khankaka
11-25-2002, 08:53 AM
thanks very much to every one who helped me.

it worked very fine wiht (Apache web server ) ...

:D :D :D :D

khankaka
11-25-2002, 10:25 PM
hi there i installed the apache program and when i try to run perl files in cgi-bin it gaves me this error massage and when i checked log file i got this .

Internal Server Error


[Tue Nov 26 13:29:19 2002] [error] [client 127.0.0.1] couldn't spawn child process: c:/program files/apache group/apache/cgi-bin/first.pl

can some one help and tell me why i cant run the cgi files in my cgi-bin directory..


:confused: :confused: :confused:

jpmoriarty
11-26-2002, 04:54 AM
sorry cant help with the old perl problems but can tell you that IIS stands for Internet Information Services.

On the perl thing, it might be permissions settings? I know I have terrible problems with IIS and the permissions you need to set before you can even look at stuff, so you might find that you need to allow apache (or the directory from which you want to call the cgi-script) to have run permissions.

It's odd that you hear so much about the security weaknesses on IIS and MS in general, and yet I can't get the darn thing to run an ASP on my own machine! How secure is that!! Maybe perl is what I should be looking at too...

Klyve1
11-27-2002, 06:33 PM
I use Apache for PHP development and Xitami (tiny file GREAT webserver) for anything else.

You may need to look in the httpd.conf and see if anything needs to be altered for it to run correctly. The file has all sorts of help within it but there's also plenty of help online.

khankaka
11-27-2002, 08:18 PM
ok one last question?

do i need to install ( perl interpreter ) on my server in order to be able to run perl scripts.


my php files run ok and my server apache is working fine but i have problem wiht runing a script on my cgi-bin.

thanks for ur helps.

:rolleyes: :rolleyes: :rolleyes:

jeffmott
11-27-2002, 10:04 PM
do i need to install ( perl interpreter ) on my server in order to be able to run perl scripts

Yes. If you running Windows you can get a copy at ActiveState.

http://www.activestate.com/Products/ActivePerl/