If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
FFAL Sript Error #2  XML
Forum Index » Support Forum
Author Message
Anonymous



I'd like to recognize Auron for posting to my last thread. We posted
simultaneously.

I have a new script error--Method Not Allowed
The request method is not allowed for URL/links/cgi-bin/links.pl


Sounds like a HTML problem in the addlinks.html, however I have
used other scripts successfully with a simple <form action="cgi-bin/--.pl">
(Also I have changed this command variable to
<form action="mysite/cgi-bin/links.pl" & mysite/links/cgi-bin/links.pl> to no avail). Therefore, I have discounted this solution.

So, I turn my thoughts toward the setup variables.

Here are the two setup doggies

#url of the script
$cgiurl="http://mysite/cgi-bin/links.pl";

#base url to all link files
$link_url="http://mysite/links";

The script seems to want to generate a cgi-bin in the links directory,
even though I specifically defined the path to links.pl as
"http://mysite/cgi-bin/links.pl"

Next using intuition, and you may have already guessed, I placed
a cgi-bin in the links directory and uploaded a new links.pl with new perl
pathways.

Nope--same error message.

Two indians are better than one.
Perl doesn't care how many pathways are defined, so I added
$cgiurl="http://mysite/cgi-bin/links.pl"; "http://mysite/links/cgi-bin/links.pl";

Nope--same error message, again.

Obviously, the script is creating a command string and searching for
links.pl outside the setup protocol of $cgiurl="http://mysite/cgi-bin/links.pl";

The script is available two doors to the left on this web-site. (FFA)

Who votes I chunk the script and get a nice guest book.

Regards,
ikbin9
ET
Graduate

Joined: 21/02/2003 22:17:48
Messages: 179
Offline

I'm having difficulty following your thought process....
I think you may be trying to over analyze.
This is what I boiled it down to....

ikbin9 wrote:
I have a new script error--Method Not Allowed
The request method is not allowed for URL/links/cgi-bin/links.pl

.....
<form action="cgi-bin/--.pl">
<form action="mysite/cgi-bin/links.pl" & mysite/links/cgi-bin/links.pl>
....

You do not need to keep starting a whole new thread for each of your problems - you are still having problems with the same FFA Links Program - Please keep the threads to a minimum even if the problems seem different....

I am assuming you have your ffa links add-site page inside the directory /links i.e. http://www.mysite.com/links
and that the url for the addlink page is http://www.mysite.com/links/addlink.html

If so, then you need to tell it to "back" out the form's current url path with something like
In the alternative it should be

I pulled up the readme and it recommends:


Is there a reason you don't want to follow the instructions given by the author?

Plus, I seriously doubt that your webserver setup will allow you to actually create a functional cgi-bin within the path of http://www.mysite.com/links/cgi-bin/

---------------
 
Forum Index » Support Forum
Go to:   
Based on the open source JForum