PDA

View Full Version : Setting up form


max
09-16-03, 06:10 PM
Hello,

I just switched my host and have a problem setting up my forms to work again.

My cgi-bin used to be in /domain/www/cgi-bin/

But now it is outside the www directory: /domain/cgi-bin
and my main files are in /domain/www/index.html

How do I access it from my form tags?
<form action="??form.pl" method="get">

Thanks

YUPAPA
09-20-03, 01:27 AM
Hello,

I just switched my host and have a problem setting up my forms to work again.

My cgi-bin used to be in /domain/www/cgi-bin/

But now it is outside the www directory: /domain/cgi-bin
and my main files are in /domain/www/index.html

How do I access it from my form tags?
<form action="??form.pl" method="get">

Thanks

I guess you can't run it from the web if it is outside the www folder. It could be your server admin have a virtual host setup for directory cgi-bin. Ask your server admin about this~

rob2132
09-29-03, 01:21 AM
Hello,

I just switched my host and have a problem setting up my forms to work again.

My cgi-bin used to be in /domain/www/cgi-bin/

But now it is outside the www directory: /domain/cgi-bin
and my main files are in /domain/www/index.html

How do I access it from my form tags?
<form action="??form.pl" method="get">

Thanks

Sounds like your new host doens't have your cgi-bin directory located inside of the web root--this is a good thing. What is the problem you're having? The cgi-bin should be the same script aliased path, even if it's not in the same directory path and is no longer in the web root (again, this is a good thing).