Please try:
Code:echo 'ProxyFCGIBackendType GENERIC' >> /etc/httpd/conf/extra/httpd-phpmodules.conf service httpd restart
Thanks is this for the PHP-FPM mode?
Please try:
Code:echo 'ProxyFCGIBackendType GENERIC' >> /etc/httpd/conf/extra/httpd-phpmodules.conf service httpd restart
[root@vps2 custombuild]# /bin/sh /usr/local/directadmin/custombuild/httpd-2.4.26/srclib/apr/libtool --silent --mode=link gcc -pthread -I/usr/local/include -L/usr/local/lib -Lbuiltin/lib -release 1 -module -rpath /etc/httpd/lib/apr-util-1 -o dbd/apr_dbd_sqlite3.la dbd/apr_dbd_sqlite3.lo -lsqlite3
/usr/local/directadmin/custombuild/httpd-2.4.26/srclib/apr/libtool: line 7475: cd: builtin/lib: No such file or directory
libtool: error: cannot determine absolute directory name of 'builtin/lib'
Am I missing a dependency or something like that?[root@vps2 custombuild]# /bin/sh /usr/local/directadmin/custombuild/httpd-2.4.26/srclib/apr/libtool --silent --mode=link gcc -pthread -I/usr/local/include -L/usr/local/lib -Lbuiltin/lib -release 1 -module -rpath /etc/httpd/lib/apr-util-1 -o dbd/apr_dbd_sqlite3.la dbd/apr_dbd_sqlite3.lo -lsqlite3
/usr/local/directadmin/custombuild/httpd-2.4.26/srclib/apr/libtool: line 7475: cd: builtin/lib: No such file or directory
libtool: error: cannot determine absolute directory name of 'builtin/lib'
[root@vps2 custombuild]# cd /usr/local/directadmin/custombuild/httpd-2.4.26/srclib/apr-util
On three out of six Centos 6 servers with Custombuild 2 I ran into this error:
or, better readable:Code:[root@vps2 custombuild]# /bin/sh /usr/local/directadmin/custombuild/httpd-2.4.26/srclib/apr/libtool --silent --mode=link gcc -pthread -I/usr/local/include -L/usr/local/lib -Lbuiltin/lib -release 1 -module -rpath /etc/httpd/lib/apr-util-1 -o dbd/apr_dbd_sqlite3.la dbd/apr_dbd_sqlite3.lo -lsqlite3 /usr/local/directadmin/custombuild/httpd-2.4.26/srclib/apr/libtool: line 7475: cd: builtin/lib: No such file or directory libtool: error: cannot determine absolute directory name of 'builtin/lib'
Am I missing a dependency or something like that?
Edit: The same happens if I start in
Code:[root@vps2 custombuild]# cd /usr/local/directadmin/custombuild/httpd-2.4.26/srclib/apr-util
I did have that, as first option in the configure statement. It has been there for ages, can't remember why I added it. Anyway, the build succeeded now.Please make sure you don't have --with-expat=builtin in custom/ap2/configure.apache.
echo 'ProxyFCGIBackendType GENERIC' >> /etc/httpd/conf/extra/httpd-phpmodules.conf
service httpd restart
Please try:
Code:echo 'ProxyFCGIBackendType GENERIC' >> /etc/httpd/conf/extra/httpd-phpmodules.conf service httpd restart
Please try:
Code:echo 'ProxyFCGIBackendType GENERIC' >> /etc/httpd/conf/extra/httpd-phpmodules.conf service httpd restart
Mario,
Do you have any mod_rewrite rules in .htaccess to check a domain and redirect an user ?
mod_rewrite: When a substitution is a fully qualified URL, and the scheme/host/port matches the current virtual host, stop interpreting the path component as a local path just because the first component of the path exists in the filesystem. Adds RewriteOption "LegacyPrefixDocRoot" to revert to previous behavior. PR60009.
Yes.. But i think this changing makes trouble.
But i have no idea how i can fix this
LegacyPrefixDocRoot
Prior to 2.4.26, if a substitution was an absolute URL that matched the current virtual host, the URL might first be reduced to a URL-path and then later reduced to a local path. Since the URL can be reduced to a local path, the path should be prefixed with the document root. This prevents a file such as /tmp/myfile from being accessed when a request is made to http://host/file/myfile with the following RewriteRule.
RewriteRule /file/(.*) http://localhost/tmp/$1
This option allows the old behavior to be used where the document root is not prefixed to a local path that was reduced from a URL. Available in 2.4.26 and later.
Great! That fix works for me!
I have replace the mod_rewrite.c and recompile the apache.
Thanks again.
I'm going on to do a few more tests!
Mario
xml/apr_xml.c:35:19: error: expat.h: No such file or directory
xml/apr_xml.c:66: error: expected specifier-qualifier-list before 'XML_Parser'
xml/apr_xml.c: In function 'cleanup_parser':
xml/apr_xml.c:364: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:365: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c: At top level:
xml/apr_xml.c:384: error: expected ';', ',' or ')' before '*' token
xml/apr_xml.c: In function 'apr_xml_parser_create':
xml/apr_xml.c:401: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:402: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:410: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:411: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:412: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:424: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:424: error: 'default_handler' undeclared (first use in this function)
xml/apr_xml.c:424: error: (Each undeclared identifier is reported only once
xml/apr_xml.c:424: error: for each function it appears in.)
xml/apr_xml.c: In function 'do_parse':
xml/apr_xml.c:434: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:438: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c:442: error: 'apr_xml_parser' has no member named 'xp_err'
xml/apr_xml.c:442: error: 'apr_xml_parser' has no member named 'xp'
xml/apr_xml.c: In function 'apr_xml_parser_geterror':
xml/apr_xml.c:500: error: 'apr_xml_parser' has no member named 'xp_err'
xml/apr_xml.c:500: error: 'apr_xml_parser' has no member named 'xp_err'
*** Error code 1
gcc -E -DHAVE_CONFIG_H -I/usr/local/directadmin/custombuild/httpd-2.4.26/srclib/apr-util/include -I/usr/local/directadmin/custombuild/httpd-2.4.26/srclib/apr-util/include/private -I/usr/local/directadmin/custombuild/httpd-2.4.26/srclib/apr/include export_vars.c | sed -e 's/^\#[^!]*//' | sed -e '/^$/d' >> aprutil.exp
1 error
*** Error code 1
1 error
*** Error code 1
1 error
*** Error code 1
1 error
Please could you post a howto for other forumusers?
I thought I had to identical boxes but it builds on 1, but not on the other
This is what I get on FreeBSD:
Code:xml/apr_xml.c:35:19: error: expat.h: No such file or directory xml/apr_xml.c:66: error: expected specifier-qualifier-list before 'XML_Parser' xml/apr_xml.c: In function 'cleanup_parser': xml/apr_xml.c:364: error: 'apr_xml_parser' has no member named 'xp' xml/apr_xml.c:365: error: 'apr_xml_parser' has no member named 'xp' xml/apr_xml.c: At top level: xml/apr_xml.c:384: error: expected ';', ',' or ')' before '*' token xml/apr_xml.c: In function 'apr_xml_parser_create': xml/apr_xml.c:401: error: 'apr_xml_parser' has no member named 'xp' xml/apr_xml.c:402: error: 'apr_xml_parser' has no member named 'xp' xml/apr_xml.c:410: error: 'apr_xml_parser' has no member named 'xp' xml/apr_xml.c:411: error: 'apr_xml_parser' has no member named 'xp' xml/apr_xml.c:412: error: 'apr_xml_parser' has no member named 'xp' xml/apr_xml.c:424: error: 'apr_xml_parser' has no member named 'xp' xml/apr_xml.c:424: error: 'default_handler' undeclared (first use in this function) xml/apr_xml.c:424: error: (Each undeclared identifier is reported only once xml/apr_xml.c:424: error: for each function it appears in.) xml/apr_xml.c: In function 'do_parse': xml/apr_xml.c:434: error: 'apr_xml_parser' has no member named 'xp' xml/apr_xml.c:438: error: 'apr_xml_parser' has no member named 'xp' xml/apr_xml.c:442: error: 'apr_xml_parser' has no member named 'xp_err' xml/apr_xml.c:442: error: 'apr_xml_parser' has no member named 'xp' xml/apr_xml.c: In function 'apr_xml_parser_geterror': xml/apr_xml.c:500: error: 'apr_xml_parser' has no member named 'xp_err' xml/apr_xml.c:500: error: 'apr_xml_parser' has no member named 'xp_err' *** Error code 1 gcc -E -DHAVE_CONFIG_H -I/usr/local/directadmin/custombuild/httpd-2.4.26/srclib/apr-util/include -I/usr/local/directadmin/custombuild/httpd-2.4.26/srclib/apr-util/include/private -I/usr/local/directadmin/custombuild/httpd-2.4.26/srclib/apr/include export_vars.c | sed -e 's/^\#[^!]*//' | sed -e '/^$/d' >> aprutil.exp 1 error *** Error code 1 1 error *** Error code 1 1 error *** Error code 1 1 error