vandal
Verified User
Try AddHandler application/x-httpd-php .php
into your .htaccess. That might work...
into your .htaccess. That might work...
Hello,
There was a recent change to the following files with custombuild:
/etc/httpd/conf/extra/httpd-php-handlers.conf
/etc/httpd/conf/extra/httpd-suphp.conf
The following directive encompases the AddHandlers:I would guess it's related, but I'm not quite sure how it would be... as it should only affect the extensions in question and not .htaccess files.Code:<FilesMatch "\.(inc|php|php3|php4|php5|phtml|phps)$">
John
--with-mysql enables support to access mysql databases through PHP. After --with-mysql we can optionally specify directory where mysql is installed like --with-mysql=/usr/local/mysql. To use mysql database functions you must have mysql database installed on your system. If you don't have mysql installed you can remove this option. If this option is not used then library, which is bundled with PHP is used to access mysql databases.
--10:32:29-- http://files.directadmin.com/services/custombuild/jail.tar.gz
=> `./jail.tar.gz'
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13,833 (14K) [application/x-gzip]
100%[=================================================================================================================>] 13,833 --.--K/s
10:32:29 (138.58 KB/s) - `./jail.tar.gz' saved [13833/13833]
File already exists: nbsmtp-1.00.tar.gz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Error exit delayed from previous errors
./build: line 6126: cd: nbsmtp-1.00: No such file or directory
./build: line 6127: ./configure: is a directory
make: *** No targets specified and no makefile found. Stop.
*** The make has failed ***
I know, it's a stupid question - did you run a ./build update first?
What's wrong with it at the moment? (except jailed ssh which is in beta)
What's wrong with it at the moment?
Hello,
Issuing "./build all_jail" gives this error-message (and stops the build):
Version: 1.1.12 (according to just typing ./build)Code:--10:32:29-- http://files.directadmin.com/services/custombuild/jail.tar.gz => `./jail.tar.gz' Resolving files.directadmin.com... 72.35.85.222 Connecting to files.directadmin.com|72.35.85.222|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 13,833 (14K) [application/x-gzip] 100%[=================================================================================================================>] 13,833 --.--K/s 10:32:29 (138.58 KB/s) - `./jail.tar.gz' saved [13833/13833] File already exists: nbsmtp-1.00.tar.gz tar: This does not look like a tar archive tar: Skipping to next header tar: Archive contains obsolescent base-64 headers tar: Error exit delayed from previous errors ./build: line 6126: cd: nbsmtp-1.00: No such file or directory ./build: line 6127: ./configure: is a directory make: *** No targets specified and no makefile found. Stop. *** The make has failed ***
Is this something that needs to be fixed at the file-source (files.directadmin.com), or?
Thanks
In my opinion, as a HEAVY user of Directadmin, a piece of beta code should not have been placed in a released custombuild script. This should have been a standalone script BEFORE it was introduced to a critical update component of Directadmin.
hostpc.com said:While I sincerely appreciate your work on this, and other issues, Directadmin was not sold as a "user" or "community" supported project. This function (jailed ssh/suphp) should have been built OUTSIDE the custombuild scripts - until proven and tested (which goes back to my original reply to you that I didn't have servers you could "test" on) ...
I don't have any access to DA servers and John always takes a look (tests) at the script or any "fix" before the release. Only then CustomBuild is uploaded to DA servers.hostpc.com said:IF the code was of high enough quality to be included in the official Directadmin release, it THEN should have been included and released by Directadmin (aka John/Mark) - not by a user. Directadmin should have tested this on THEIR servers to make sure it was working properly BEFORE releasing it, even in beta, to the users).
No, you are not right here About the code - we wrote it together with John, so John can provide full support for it. I just wrote CustomBuild FAQ because John didn't have enough time for it.hostpc.com said:A user (smtalk or jlasman - or anyone), releasing code that is part of the core Directadmin program, makes it nothing more than user supported shareware and may as well have been released under GPL. (As far as I know, jlasman nor smtalk are not employees of Directadmin/JBMC Software)
hostpc.com said:Again, this is NOT a slam on any user - it's just what I'm seeing. I appreciate the work that Martynas, Jeff and others have put into developing enhancements. My opinion is that Directadmin themselves (aka John/Mark) should be either releasing it as release quality - not "beta" or "testing".
It's working fine for me. Try: rm -f nbsmtp-1.00.tar.gz.
ginstall-install.o(.text+0x451): In function `install_file_in_file':
/usr/local/directadmin/custombuild/coreutils-6.12/src/install.c:251: undefined reference to `matchpathcon_init_prefix'
collect2: ld returned 1 exit status
make[3]: *** [ginstall] Error 1
make[3]: Leaving directory `/usr/local/directadmin/custombuild/coreutils-6.12/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/local/directadmin/custombuild/coreutils-6.12/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/directadmin/custombuild/coreutils-6.12'
make: *** [all] Error 2
*** The make has failed ***
--09:48:35-- http://files.directadmin.com/services/custombuild/jail.tar.gz
=> `./jail.tar.gz'
Resolving files.directadmin.com... 72.35.85.222
Connecting to files.directadmin.com|72.35.85.222|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13,833 (14K) [application/x-gzip]
100%[=========================================================================================================================>] 13,833 --.--K/s
09:48:35 (138.70 KB/s) - `./jail.tar.gz' saved [13833/13833]
File already exists: nbsmtp-1.00.tar.gz
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Error exit delayed from previous errors
./build: line 6166: cd: nbsmtp-1.00: No such file or directory
./build: line 6167: ./configure: is a directory
make: *** No targets specified and no makefile found. Stop.
*** The make has failed ***
After almost 5 years of using Directadmin, I've never been so tempted to change to another hosting platform.
If CustomBuild is the reason - you can switch to CustomApache I really appreciate your opinion but I don't understand why CustomBuild is the reason for that.