Click to See Complete Forum and Search --> : CGI problem with Free for all links


ncsuapex
12-22-2004, 06:45 PM
OK,


Due to a major issue I had to wipe out my old RH9 machine and installed Fedora Core 3. I was able to xfer all my files over to my XP machine. So when I installed Fedora I just moved everything over. I had been using this program called "Free for all link" Available here Free for all links (http://www.scriptarchive.com/links.html)


I put all the files in the folders that they are supposed to be in, I checked all the permissions and they are all correct. The problem is, The page loads with all my old links I had saved, but when I go to add a new link, the page just refreshes and does not add the new link. There is no error or anything.

I've checked:
httpd.conf

#
AddHandler cgi-script .cgi

ScriptAlias /cgi-bin/ "/var/www/cgi-bin/"


<Directory "/var/www/cgi-bin">
Options ExecCGI

AllowOverride None
Allow from all


Order allow,deny




$ which perl
/usr/bin/perl


this is at the top of my .cgi file
#!/usr/bin/perl




So why isn't it wrting to the webpage??

the links.html has the permissions of 777 and the DIR is 777

same with the .cgi file

flukshun
12-22-2004, 08:52 PM
check apache's log file for any errors

ncsuapex
12-22-2004, 09:16 PM
i think i found the problem


[client 192.168.1.1] File does not exist: /var/www/html/cgi


that ip must be wrong

ncsuapex
12-22-2004, 10:11 PM
I thought the DSN IP was wrong and it was, I fixed it, rebooted and its not wroking. The logs give no errors, post chanes I made.