Koozali.org: home of the SME Server

'outside' CGI problems

Luke Drumm

'outside' CGI problems
« on: October 11, 2000, 12:41:46 PM »
Hi,

My V4.00(with 12-28 patch) system seems to be exhibiting a rather strange feature regarding CGI programs held within the primary directory. (It could also apply for ibays but I haven't tested that yet).

All CGI programs (in this case some small bits of Perl code) execute perfectly when accessed via the local network but return a 404 error when accessed from the 'net.
This is irrespective of whatever permutation of server address I give it (eg. www.myserver.com, www.e-smith.myserver.com,www.serverbox.myserver.com etc...).

The ownerships for the files are set to either root/shared or admin/shared with read and execute privs set.

The httpd error log seems to indicate that external requests are being mishandled towards /home/e-smith/files/primary/cgi-bin/program.cgi.

The strange thing is that the httpd conf file seems to have exactly the same directory mapping for both the internal and external sites.

Any suggestions on how to fix this issue?

PS: I have vague memories of somebody mentioning a similiar issue ages ago and being told it would be fixed in the final release of 4. As it's not listed in the bug list, I'm assuming that that particular issue has since been put to bed.

Charlie Brady

RE: 'outside' CGI problems
« Reply #1 on: October 19, 2000, 05:35:46 AM »
Luke Drumm wrote:

> The httpd error log seems to indicate that external requests
> are being mishandled towards
> /home/e-smith/files/primary/cgi-bin/program.cgi.

That's exactly where I would expect it to be looking for CGI programs attached to the primary web site.

If you have a dialup link, you might like to try e-smith-base-4.0.12-37.noarch.rpm from my contrib directory at ftp://ftp.e-smith.org/pub/e-smith/contrib/charlieb/RPMS/ - it adds support for dynamic DNS for dialup links, and also adds access to ibays on the external interface.

Charlie