Consultor Eletrônico



Kbase P109258: Host header requirement in Apache Vitual Hosting causes errors when opening a file in remote develop
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   26/09/2005
Status: Unverified

FACT(s) (Environment):

WebSpeed 3.1x
OpenEdge 10.x

SYMPTOM(s):

Error occurs when trying to open a file through the 'File Open' window in AppBuilder

Getting: An error occurred while reading the WebSpeed directory and will be displayed in your Web browser

After click 'Ok', get a directory listing of the remote broker's working directory displayed in the browser instead of in the 'File Open' window.

Check the temporary file, pXXXXXws.tmp (where XXXXX is a random number), that is generated with the output received from the Webserver. The temp file pXXXXXws.tmp lists:

<html><head><title>Error</title></head><body>The system cannot find the file specified. </body></html>

or

<html><head><title>Site Not Found</title></head><body>No web site is configured at this address.</body></html>

Using AppBuilder in 'Remote Development' mode

Error does not occur when using file open function from workshop, directly from browser

Pings works fine from AppBuilder's Preferences

Can access Workshop

Broker on different machine than app builder

Using Apache web server with Vitual Hosts configured

CAUSE:

When vitual hosting is enabled from Apache, it requests host header information. However, the OCX the AppBuilder uses is HPPT 1.0 compatible only, thus it is not sending the host header information.

Note, the problem can only be seen with Vitual Host is enabled becaue Vitual Hosting requires host header information.

FIX:

Disable vitual hosting, thus host header is not required
Vitual hosting is not tested or supported by Progress