[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] RaQ2 and CGI



I was trying to configure a CGI script to work on a site on my RaQ2.
http://www.xav.com/scripts/axs/ The identical script was installed on
another site on the same RaQ2. I simply changed the parameters on the script
which only involved changing the URL in the script. It simply pointed to
"log.txt" instead of /home/sites/site28/web/cgi-bin/log.txt. I uploaded it
and no matter what I did, it wouldn't write to the .txt file. All the
permissions were the same on each site, the include for the .shtml pages was
identical, nothing worked. I finally deleted the script, downloaded their
newest version and uploaded that. I changed the include statement to include
virtual instead of exec cmd, (which is working fine on the other site on the
server), and suddenly, it's working. (No .htaccess file in either site.)

The only thought I had was, maybe way out there, I had added this site to my
CuteFTP using the IP address instead of the URL since I was uploading it
originally before it got moved from another server. I don't know if that was
the reason the original script was giving me problems, or if that could
affect the permissions in some hidden way. An ls -la on each of the two
sites cgi-bin showed permissions identical to each other, (different site
admin user names of course).

Anyway, it's working now. Just some food for thought.
--
Dan Kriwitsky