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
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