Consultor Eletrônico



Kbase P100407: Getting HTTP 404- This Page cannot be found when messenger script/alias directory is invalid on URL
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   3/7/2005
Status: Unverified

FACT(s) (Environment):

WebSpeed
Apache

SYMPTOM(s):

Getting error within browser when trying to access WebSpeed page

This Page cannot be found

HTTP 404 - File not found

The URL being entered is; http://host/cgiip/wspd_cgi.sh/WService=wsbroker1/ping

CAUSE:

The URL being entered within the browser is incorrect. Within the Apache configuration file, $APACHE_HOME/conf/httpd.conf file, the alias defined under Script Alias section is different than the one being defined within the URL.

FIX:

Review the Apache configuration file, $APACHE_HOME/conf/httpd.conf file to see what information is being referenced for the Script alias and enter that information into the browser.

Example of how the entry should look within the file:

# ScriptAlias: This controls which directories contain server scripts.
# ScriptAliases are essentially the same as Aliases, except that
# documents in the realname directory are treated as applications and
# run by the server when requested rather than as documents sent to the client.
# The same rules about trailing "/" apply to ScriptAlias directives as to
# Alias.

ScriptAlias /cgi-bin/ "/usr/apache/cgi-bin/"

Based on this, the correct URL would be this; http://host/cgi-bin/wspd_cgi.sh/WService=wsbroker1/ping