I was getting this error:
AH00526: Syntax error on line 228 of E:/Documents/Dropbox/Programs/windows7/xampp-win32-1.8.1-VC9/xampp/apache/conf/extr
a/httpd-proxy.conf:
ProxyPass worker name (http://localhost:8080/SIBismarkRestServer/webresources/com.expertix.bismark.si.entities.orderrequ
est/) too long
In this link https://issues.apache.org/bugzilla/show_bug.cgi?id=53218 Says that increasing in the mod_proxy.h file the PROXY_WORKER_MAX_NAME_SIZE value from 96 to a number that fits in your workername, ie
from
#define PROXY_WORKER_MAX_NAME_SIZE 96
to
#define PROXY_WORKER_MAX_NAME_SIZE 192
But I continue getting that error, no matter my url http://localhost:8080/SIBismarkRestServer/webresources/com.expertix.bismark.si.entities.orderrequ
est/ was 101 characters
So I had to make my url shorter
AH00526: Syntax error on line 228 of E:/Documents/Dropbox/Programs/windows7/xampp-win32-1.8.1-VC9/xampp/apache/conf/extr
a/httpd-proxy.conf:
ProxyPass worker name (http://localhost:8080/SIBismarkRestServer/webresources/com.expertix.bismark.si.entities.orderrequ
est/) too long
In this link https://issues.apache.org/bugzilla/show_bug.cgi?id=53218 Says that increasing in the mod_proxy.h file the PROXY_WORKER_MAX_NAME_SIZE value from 96 to a number that fits in your workername, ie
from
#define PROXY_WORKER_MAX_NAME_SIZE 96
to
#define PROXY_WORKER_MAX_NAME_SIZE 192
But I continue getting that error, no matter my url http://localhost:8080/SIBismarkRestServer/webresources/com.expertix.bismark.si.entities.orderrequ
est/ was 101 characters
So I had to make my url shorter
2 comments:
Hey, this seems to still be a problem; instead of doing ProxyPass you can use a RewriteRule to do the same thing. For example:
RewriteEngine on
RewriteRule ^/(.*) http://localhost:8080/SIBismarkRestServer/webresources/com.expertix.bismark.si.entities.orderrequ/$1 [P,L]
or something similar
If this is for a Windows based server you need to remove the # from the beginning of the line . Once this was done I no longer had the issue of the character count limit.
Post a Comment