|Keep It Simple, Stupid|
TKI cartby lopacki (Initiate)
|on Jun 08, 2010 at 23:46 UTC||Need Help??|
lopacki has asked for the
wisdom of the Perl Monks concerning the following question:
I have had a shopping cart and formmail on my website for many years and it has worked flawlessly. I have to admit that I did not write the perl code its TKI cart that used to be free on the web.
The problem I have encountered is that I am trying to use the same TKI on a new site that is a sub domain on my server. And I am wondering if because it is a sub domain do I need the path directing the form to be different. I do have the CGI-Bin and all of its contents on the new site.
I have been testing the new site by just using the formmail part with a form that I put on one of the pages, this same form page is on my main site and again it works flawlessly. The problem I am encountering is when the form is submitted it cannot seem to find the path cgi-bin/formmail. I have been playing with the code for quite some time and continue to get the message that this link cannot be found.
The path it is trying to find is www.mywebsite/cgi-bin/formmail.
I have tried all of the following
<form method="post" action="www.mywebsite.com/cgi-bin/formmail.pl">
<form method="post" action="mywebsite.com/cgi-bin/formmail.pl">
<form method="post" action="../cgi-bin/formmail.pl">
<form method="post" action="/cgi-bin/formmail.pl">
Nothing I try to do seems to work
Also when trying to use the shopping cart again it cannot find the CGI-bin, it is being directed to the http://www.mywebsite.com/cgi-bin/cart/tki_cart.pl but for whatever reason again no luck on the link being found by the cart.
I thank you in advance for anything you might recommend that I try out as I am at my wits end.