Hi,
My Valence instance had been working for a few weeks without problem. As of this morning, I got an HTTP 403 after typing http://<ip>:7030/valence/vvlogin.pgm in the url window.
Same responce was received upon http://<ip>:7030 (no sample home page).
I double checked both /www/valence30 and /valence-3.0 directories to make sure both profiles QTMHHTTP and QTMHHTP1 have Read and Execute permissions; also made sure that .htaccess file does not exist in those directories, nor does it exist in the /www directory.
The error.log states "ZSRV_MSG0362: Client denied by server configuration: /valence-3.0".
The access.log has the following.
"GET / HTTP/1.1" 403 224 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.3; .NET4.0E)"
The content of the httpd.conf file is as follows.
# Valence Standard Apache HTTP Server Configuration
Listen *:7030
DocumentRoot /valence-3.0/
Options +ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch -Includes -Indexes -MultiViews
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%{Cookie}n \"%r\" %t" cookie
LogFormat "%{User-agent}i" agent
LogFormat "%{Referer}i -> %U" referer
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog logs/access_log combined
LogMaint logs/access_log 7 0
LogMaint logs/error_log 7 0
DefaultNetCCSID 1208
# DefaultFsCCSID 37
AddCharset UTF-8 .html
AddCharset UTF-8 .js
SetEnvIf "User-Agent" "Mozilla/2" nokeepalive
SetEnvIf "User-Agent" "JDK/1\.0" force-response-1.0SetEnvIf "User-Agent" "Java/1\.0" force-response-1.0
SetEnvIf "User-Agent" "RealPlayer 4\.0" force-response-1.0
SetEnvIf "User-Agent" "MSIE 4\.0b2;" nokeepalive
SetEnvIf "User-Agent" "MSIE 4\.0b2;" force-response-1.0
AddType application/vnd.ms-word.document.macroEnabled.12 .docm
AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
AddType application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx
AddType application/vnd.ms-powerpoint.template.macroEnabled.12 potm
AddType application/vnd.openxmlformats-officedocument.presentationml.template potx
AddType application/vnd.ms-powerpoint.addin.macroEnabled.12 ppam
AddType application/vnd.ms-powerpoint.slideshow.macroEnabled.12 ppsm
AddType application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx
AddType application/vnd.ms-powerpoint.presentation.macroEnabled.12 pptm
AddType application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
AddType application/vnd.ms-excel.addin.macroEnabled.12 xlam
AddType application/vnd.ms-excel.sheet.binary.macroEnabled.12 xlsb
AddType application/vnd.ms-excel.sheet.macroEnabled.12 xlsm
AddType application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx
AddType application/vnd.ms-excel.template.macroEnabled.12 xltm
AddType application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx
AddType application/rtf rtf
CGIConvMode BINARY
<Directory />
Order Deny,Allow
Deny From all
</Directory>
# valence Ext JS 4 directives
Alias /extjs4 /valence-3.0/ext-4.0.1
<Directory /valence-3.0/ext-4.0.1>
Order Allow,Deny
allow from all
</Directory>
# valence Ext JS 3 directives
Alias /extjs /valence-3.0/ext-3.2.2
<Directory /valence-3.0/ext-3.2.2>
Order Allow,Deny
allow from all
</Directory>
# valence sencha touch directives
Alias /sencha-touch /valence-3.0/sencha-touch-1.1.0
<Directory /valence-3.0/sencha-touch-1.1.0>
Order Allow,Deny
allow from all
</Directory>
# valence resource directives
Alias /vvresources /valence-3.0/vvresources
<Directory /valence-3.0/vvresources>
Order Allow,Deny
allow from all
</Directory>
# valence html
Alias /html /valence-3.0/html
<Directory /valence-3.0/html>
Order Allow,Deny
allow from all
</Directory>
# valence program directives
ScriptAliasMatch /valence(.*)/vvlogin.pgm /QSYS.LIB/VALENCE30.LIB/VVLOGIN.PGM
ScriptAliasMatch /valence(.*)/vvheader.pgm /QSYS.LIB/VALENCE30.LIB/VVHEADER.PGM
ScriptAliasMatch /valence(.*)/vvvport.pgm /QSYS.LIB/VALENCE30.LIB/VVVPORT.PGM
ScriptAliasMatch /valence(.*)/vvcall.pgm /QSYS.LIB/VALENCE30.LIB/VVCALL.PGM
ScriptAliasMatch /valence(.*)/exns01.pgm /QSYS.LIB/VALENCE30.LIB/EXNS01.PGM
ScriptAliasMatch /valence(.*)/vvupload.pgm /QSYS.LIB/VALENCE30.LIB/VVUPLOAD.PGM
ScriptAliasMatch /valence(.*)/vvtest.pgm /QSYS.LIB/VALENCE30.LIB/VVTEST.PGM
ScriptAliasMatch /valence(.*)/vvoptauto.pgm /QSYS.LIB/VALENCE30.LIB/VVOPTAUTO.PGM
<Location /valence>
CGIJobCcsid 37
</Location>
<Location /valence-de>
CGIJobCcsid 273
</Location>
<Location /valence-en>
CGIJobCcsid 37
</Location>
<Location /valence-es>
CGIJobCcsid 284
</Location>
<Location /valence-fr>
CGIJobCcsid 297
</Location>
<Location /valence-it>
CGIJobCcsid 280
</Location>
<Location /valence-ja>
CGIJobCcsid 37
</Location>
<Location /valence-nl>
CGIJobCcsid 500
</Location>
<Location /valence-ru>
CGIJobCcsid 1025
</Location>
<Directory /QSYS.LIB/VALENCE30.LIB>
Order Allow,Deny
allow from all
</Directory>
# valence chart directives
Alias /FusionCharts /valence-3.0/FusionCharts-3.2
<Directory /valence-3.0/FusionCharts-3.2>
Order Allow,Deny
allow from all
</Directory>
# valence widgets directives
Alias /FusionWidgets /valence-3.0l/FusionWidgets-3.2
<Directory /valence-3.0/FusionWidgets-3.2>
Order Allow,Deny
allow from all
</Directory>
I haven't changed the original configuration since installation of product.
I know this question must have to do whith Apache configuration and/or permissions rather than Valence itself; however, I will greatly appreciate any helpful advice from this forum.
Thanks in advance!
Alex
My Valence instance had been working for a few weeks without problem. As of this morning, I got an HTTP 403 after typing http://<ip>:7030/valence/vvlogin.pgm in the url window.
Same responce was received upon http://<ip>:7030 (no sample home page).
I double checked both /www/valence30 and /valence-3.0 directories to make sure both profiles QTMHHTTP and QTMHHTP1 have Read and Execute permissions; also made sure that .htaccess file does not exist in those directories, nor does it exist in the /www directory.
The error.log states "ZSRV_MSG0362: Client denied by server configuration: /valence-3.0".
The access.log has the following.
"GET / HTTP/1.1" 403 224 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; InfoPath.3; .NET4.0E)"
The content of the httpd.conf file is as follows.
# Valence Standard Apache HTTP Server Configuration
Listen *:7030
DocumentRoot /valence-3.0/
Options +ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch -Includes -Indexes -MultiViews
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%{Cookie}n \"%r\" %t" cookie
LogFormat "%{User-agent}i" agent
LogFormat "%{Referer}i -> %U" referer
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog logs/access_log combined
LogMaint logs/access_log 7 0
LogMaint logs/error_log 7 0
DefaultNetCCSID 1208
# DefaultFsCCSID 37
AddCharset UTF-8 .html
AddCharset UTF-8 .js
SetEnvIf "User-Agent" "Mozilla/2" nokeepalive
SetEnvIf "User-Agent" "JDK/1\.0" force-response-1.0SetEnvIf "User-Agent" "Java/1\.0" force-response-1.0
SetEnvIf "User-Agent" "RealPlayer 4\.0" force-response-1.0
SetEnvIf "User-Agent" "MSIE 4\.0b2;" nokeepalive
SetEnvIf "User-Agent" "MSIE 4\.0b2;" force-response-1.0
AddType application/vnd.ms-word.document.macroEnabled.12 .docm
AddType application/vnd.openxmlformats-officedocument.wordprocessingml.document docx
AddType application/vnd.openxmlformats-officedocument.wordprocessingml.template dotx
AddType application/vnd.ms-powerpoint.template.macroEnabled.12 potm
AddType application/vnd.openxmlformats-officedocument.presentationml.template potx
AddType application/vnd.ms-powerpoint.addin.macroEnabled.12 ppam
AddType application/vnd.ms-powerpoint.slideshow.macroEnabled.12 ppsm
AddType application/vnd.openxmlformats-officedocument.presentationml.slideshow ppsx
AddType application/vnd.ms-powerpoint.presentation.macroEnabled.12 pptm
AddType application/vnd.openxmlformats-officedocument.presentationml.presentation pptx
AddType application/vnd.ms-excel.addin.macroEnabled.12 xlam
AddType application/vnd.ms-excel.sheet.binary.macroEnabled.12 xlsb
AddType application/vnd.ms-excel.sheet.macroEnabled.12 xlsm
AddType application/vnd.openxmlformats-officedocument.spreadsheetml.sheet xlsx
AddType application/vnd.ms-excel.template.macroEnabled.12 xltm
AddType application/vnd.openxmlformats-officedocument.spreadsheetml.template xltx
AddType application/rtf rtf
CGIConvMode BINARY
<Directory />
Order Deny,Allow
Deny From all
</Directory>
# valence Ext JS 4 directives
Alias /extjs4 /valence-3.0/ext-4.0.1
<Directory /valence-3.0/ext-4.0.1>
Order Allow,Deny
allow from all
</Directory>
# valence Ext JS 3 directives
Alias /extjs /valence-3.0/ext-3.2.2
<Directory /valence-3.0/ext-3.2.2>
Order Allow,Deny
allow from all
</Directory>
# valence sencha touch directives
Alias /sencha-touch /valence-3.0/sencha-touch-1.1.0
<Directory /valence-3.0/sencha-touch-1.1.0>
Order Allow,Deny
allow from all
</Directory>
# valence resource directives
Alias /vvresources /valence-3.0/vvresources
<Directory /valence-3.0/vvresources>
Order Allow,Deny
allow from all
</Directory>
# valence html
Alias /html /valence-3.0/html
<Directory /valence-3.0/html>
Order Allow,Deny
allow from all
</Directory>
# valence program directives
ScriptAliasMatch /valence(.*)/vvlogin.pgm /QSYS.LIB/VALENCE30.LIB/VVLOGIN.PGM
ScriptAliasMatch /valence(.*)/vvheader.pgm /QSYS.LIB/VALENCE30.LIB/VVHEADER.PGM
ScriptAliasMatch /valence(.*)/vvvport.pgm /QSYS.LIB/VALENCE30.LIB/VVVPORT.PGM
ScriptAliasMatch /valence(.*)/vvcall.pgm /QSYS.LIB/VALENCE30.LIB/VVCALL.PGM
ScriptAliasMatch /valence(.*)/exns01.pgm /QSYS.LIB/VALENCE30.LIB/EXNS01.PGM
ScriptAliasMatch /valence(.*)/vvupload.pgm /QSYS.LIB/VALENCE30.LIB/VVUPLOAD.PGM
ScriptAliasMatch /valence(.*)/vvtest.pgm /QSYS.LIB/VALENCE30.LIB/VVTEST.PGM
ScriptAliasMatch /valence(.*)/vvoptauto.pgm /QSYS.LIB/VALENCE30.LIB/VVOPTAUTO.PGM
<Location /valence>
CGIJobCcsid 37
</Location>
<Location /valence-de>
CGIJobCcsid 273
</Location>
<Location /valence-en>
CGIJobCcsid 37
</Location>
<Location /valence-es>
CGIJobCcsid 284
</Location>
<Location /valence-fr>
CGIJobCcsid 297
</Location>
<Location /valence-it>
CGIJobCcsid 280
</Location>
<Location /valence-ja>
CGIJobCcsid 37
</Location>
<Location /valence-nl>
CGIJobCcsid 500
</Location>
<Location /valence-ru>
CGIJobCcsid 1025
</Location>
<Directory /QSYS.LIB/VALENCE30.LIB>
Order Allow,Deny
allow from all
</Directory>
# valence chart directives
Alias /FusionCharts /valence-3.0/FusionCharts-3.2
<Directory /valence-3.0/FusionCharts-3.2>
Order Allow,Deny
allow from all
</Directory>
# valence widgets directives
Alias /FusionWidgets /valence-3.0l/FusionWidgets-3.2
<Directory /valence-3.0/FusionWidgets-3.2>
Order Allow,Deny
allow from all
</Directory>
I haven't changed the original configuration since installation of product.
I know this question must have to do whith Apache configuration and/or permissions rather than Valence itself; however, I will greatly appreciate any helpful advice from this forum.
Thanks in advance!
Alex
Comment