Note: This was originally posted to the "post-installation" forum, where it received no replies. Perhaps this is a more appropriate forum for the issue.

Drupal 4.7.2
Linux (a deviant of RH 7.2)
PHP 4.3.8
MySql 4.0.18
Apache 1.3.29
Sadly, those versions of Linux, PHP, MySQL, and Apache have to remain as-is because of other applications running on that server.

When I attempt to access my newly-created drupal site http://www.*server.com*/drupal-4.7.2/index.php

I get the following error:
"The server encountered an internal error or misconfiguration and was unable to complete your request. Your administrator may not have enabled CGI access for this directory."

I have not had to enable cgi access for any directory in which I have a PHP program installed.

The file permissions are the defaults from the installation.
My httpd.conf file doesn't seem to be involved.
There's a drupal-4.7.2/.htaccess file which is unchanged from the installation.

Is this a legitimate CGI access error?
If so, which files and which directives need tweaking?
If not, what should I test to track down the real problem?

Thanks in advance for your assisitance.

Comments

anner’s picture

There may be a more informative apache error in the apache logs. I would check there first.

dnorman’s picture

maybe the webserver isn't set to execute PHP files in the web directory? Can a simple PHP file (like a stock phpinfo.php) run in that directory? If not, it's a webserver config issue (if your .htaccess is uninvolved, they'll also need to enable overrides for your web directory).

If phpinfo.php can run, then it's possibly a Drupal issue.

I've put a basic phpinfo.php file online if you need one, at http://www.darcynorman.net/phpinfo.zip

snorkytheweasel’s picture

Sort of solved, that is. Delete it all & start over worked well.....

Oddly, the apache access log and error log did not elucidate beyond what I already knew.

Futzing around with .htaccess and file permissions made no difference. I'm going with the murky hypothesis that some obscure component was corrupted or mis-installed. Field testing validates that one.

Sandy Beach, surfing the untamed coast of the Great Northwet since 1976.
[ Insert pithy comment here ]