Gossamer Forum
Home : General : Internet Technologies :

Re: [perlman] using mySQL local

Quote Reply
Re: [perlman] using mySQL local In reply to
How can I test a form script? Actually fill out the form and such? I can't do this with the cmd window?

uh...you go to the webpage via your web browser where the form is located like:

http://localhost/cgi-bin/myscript.cgi

(just like you would do with your script on your shared production web server)

In terms of the "banner", I am unsure what you mean.

What I would recommend doing is the following:

1) Create a folder in htdocs called something like "MYSITE".

2) Add a LISTEN entry at the top of the httpd.conf file:

Listen 127.0.0.1:8081

3) Then in the httpd.conf file, add a VirtualHost Entry, like the following:

<VirtualHost 127.0.0.1:8081>
ServerAdmin webmaster@yourproductiondomain.com
DocumentRoot C:/Apache/htdocs/MYSITE
ServerName mysite.localhost:8081
ErrorLog C:/Apache/logs/mysite-error_log.log
CustomLog C:/Apache/logs/mysite-access_log common.log
</VirtualHost>

4) Then open your "HOSTS" file in the following folder:

C:\Windows\System32\Drivers\ETC\

Make sure that you have the following entries in that file:

127.0.0.1 localhost
127.0.0.1 mysite.localhost

5) Restart Apache

Then go to:

http://mysite.localhost:8081/

And that will be one site that you can test scripts and other web pages.

The problem may be is that you have not edited the "index.html" file in the \htdocs\ folder and that is why the banner keeps coming up. I would not touch any of the default files in that folder.

I would simply create a new website as I've demonstrated above and use that to test your website.

I do that with additional ports to test multiple client websites.
========================================
Buh Bye!

Cheers,
Me
Subject Author Views Date
Thread using mySQL local perlman 23352 May 28, 2003, 1:47 PM
Post Re: [perlman] using mySQL local
Paul 22313 May 28, 2003, 2:56 PM
Thread Re: [perlman] using mySQL local
moog 22403 May 28, 2003, 5:11 PM
Thread Re: [moog] using mySQL local
perlman 22372 May 29, 2003, 4:36 AM
Thread Re: [perlman] using mySQL local
Paul 22442 May 29, 2003, 4:57 AM
Thread Re: [Paul] using mySQL local
perlman 22392 May 29, 2003, 5:49 AM
Thread Re: [perlman] using mySQL local
Paul 22382 May 29, 2003, 5:51 AM
Thread Re: [Paul] using mySQL local
moog 22445 May 29, 2003, 6:59 AM
Thread Re: [moog] using mySQL local
perlman 22429 May 29, 2003, 7:53 AM
Thread Re: [perlman] using mySQL local
moog 22344 May 29, 2003, 8:08 AM
Thread Re: [moog] using mySQL local
perlman 22367 May 29, 2003, 8:14 AM
Thread Re: [perlman] using mySQL local
moog 22353 May 29, 2003, 8:25 AM
Thread Re: [moog] using mySQL local
perlman 22411 May 29, 2003, 8:37 AM
Thread Re: [perlman] using mySQL local
Paul 22439 May 29, 2003, 8:45 AM
Thread Re: [Paul] using mySQL local
perlman 22394 May 29, 2003, 8:48 AM
Thread Re: [perlman] using mySQL local
Paul 22384 May 29, 2003, 9:31 AM
Thread Re: [Paul] using mySQL local
perlman 22320 May 29, 2003, 10:54 AM
Thread Re: [perlman] using mySQL local
Paul 22341 May 29, 2003, 12:46 PM
Thread Re: [Paul] using mySQL local
moog 22337 May 29, 2003, 3:28 PM
Thread Re: [moog] using mySQL local
perlman 22344 May 30, 2003, 1:23 AM
Thread Re: [perlman] using mySQL local
Stealth 22369 May 30, 2003, 6:49 PM
Thread Re: [Stealth] using mySQL local
perlman 22325 May 31, 2003, 2:36 PM
Thread Re: [perlman] using mySQL local
Stealth 22369 May 31, 2003, 5:01 PM
Thread Re: [Stealth] using mySQL local
perlman 22301 Jun 1, 2003, 1:42 PM
Thread Re: [perlman] using mySQL local
Stealth 10558 Jun 1, 2003, 3:49 PM
Thread Re: [Stealth] using mySQL local
perlman 10574 Jun 2, 2003, 1:58 AM
Thread Re: [perlman] using mySQL local
Wil 10740 Jun 2, 2003, 2:00 AM
Thread Re: [Wil] using mySQL local
perlman 10726 Jun 2, 2003, 2:03 AM
Thread Re: [perlman] using mySQL local
Paul 10621 Jun 2, 2003, 2:25 AM
Thread Re: [Paul] using mySQL local
perlman 10654 Jun 2, 2003, 2:58 AM
Thread Re: [perlman] using mySQL local
Paul 10648 Jun 2, 2003, 3:47 AM
Thread Re: [Paul] using mySQL local
perlman 10608 Jun 2, 2003, 3:58 AM
Thread Re: [perlman] using mySQL local
Paul 10659 Jun 2, 2003, 3:59 AM
Thread Re: [Paul] using mySQL local
perlman 10689 Jun 2, 2003, 4:07 AM
Thread Re: [perlman] using mySQL local
Paul 10579 Jun 2, 2003, 10:55 AM
Post Re: [Paul] using mySQL local
perlman 10539 Jun 2, 2003, 12:47 PM
Thread Re: [perlman] using mySQL local
Stealth 10794 Jun 2, 2003, 6:30 PM
Thread Re: [Stealth] using mySQL local
perlman 10550 Jun 3, 2003, 3:35 AM
Post Re: [perlman] using mySQL local
Stealth 10515 Jun 3, 2003, 10:37 AM
Post Re: [perlman] using mySQL local
Paul 10535 Jun 2, 2003, 2:26 AM
Post Re: [perlman] using mySQL local
Andy 22234 May 29, 2003, 3:31 PM