Custombuild removed configure folder

wojo00

Verified User
Joined
Jan 5, 2008
Messages
32
Hello,

Just deleted the /configure folder in custombuild. Anyway to correct this? :(
 
Did not help, the /configure folder still not to be seen

Any other suggestions?
 
OMG, I've downloaded new custombuild try to install it and get ERROR :(

Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 30 of /usr/local/directadmin/data/users/admin/httpd.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration


Any help please, all my sites are down :( :( :(

I have tried custombuild 1.1 and 1.2 Beta, both give same error. Which is the recommended version anyway, I presume 1.1 as 1.2 is still in Beta mode?

Any help would be greatly appreciated!
 
Last edited:
Looks like you have upgraded from apache 1 to apache 2
 
Now, I'm just going from one problem to the next now :(

OK I installed the custombuild now, I've used 1.1 as I figure 1.2 Beta is not stable. Still not sure what is better 1.1 or 1.2?

Anyway all the sites are up and running except 1 website that gives a 500 error. Any ideas?

Ive made 1 change in options.conf that is:

#PHP settings. default_php possible values - 4 or 5, php5_ver - 5.2 or 5.3
default_php=5
php5_ver=5.2
php4_cli=no
php4_cgi=yes
php5_cli=yes
php5_cgi=no

But to be totally honest, I don't even know why I put php4 on and if I need it. That just tells you how much I know .. :/

It;s just annoying because the website that is down is a shop and they not so happy with it :(
 
This is the htaccess file in public_html...

Code:
# $Id: htaccess.dist,v 1.1.1.1 2005/08/16 08:31:30 sstolyarov Exp $
#
# This is used with Apache WebServers
#
# For this to work, you must include the parameter 'Options' to
# the AllowOverride configuration
#
# Example:
#
# <Directory "/usr/local/apache/htdocs">
#   AllowOverride Options
# </Directory>
#
# 'All' with also work. (This configuration is in the
# apache/conf/httpd.conf file)

# The following makes adjustments to the SSL protocol for Internet
# Explorer browsers

<IfModule mod_setenvif.c>
  <IfDefine SSL>
    SetEnvIf User-Agent ".*MSIE.*" \
             nokeepalive ssl-unclean-shutdown \
             downgrade-1.0 force-response-1.0
  </IfDefine>
</IfModule>

# Fix certain PHP values
# (commented out by default to prevent errors occuring on certain
# servers)

#<IfModule mod_php4.c>
  php_value session.use_trans_sid 0
  php_value register_globals 1

#</IfModule>
<IfModule mod_php5.c>
    php_flag log_errors On
    php_value error_log /home/****/domains/***producten.nl/public_html/tmp/php.log
    php_flag display_errors off
    php_flag display_startup_errors off    
</IfModule>

#ErrorDocument 404 /404.php
#ErrorDocument 500 /error.htm
#ErrorDocument 401 /404.php

#Redirects



#-MS- SEO-G Added
Options +FollowSymLinks
RewriteEngine On 
RewriteBase /
RewriteRule ^(.*).html$ root.php?$1.html&%{QUERY_STRING}
# RewriteRule ^(.*).html$ root.php?%{QUERY_STRING}
#-MS- SEO-G Added EOM

<IfModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault “access plus 10 days”
    ExpiresByType text/css “access plus 1 second”
</IfModule>
 
What do you see about the error in your site-specific error log in /var/log/httpd/domains directory?

Jeff
 
In the htaccess it was the following code that had to removed:

Code:
<IfModule mod_expires.c>
    ExpiresActive On
    ExpiresDefault “access plus 10 days”
    ExpiresByType text/css “access plus 1 second”
</IfModule>

Client had put this code a long time ago but did not need it anymore. Now all is working.

Now still remains the question for me. When I do a Custombuild install is it advised to install the 1.1 or 1.2Beta?

Also is the below setting advised in the options.conf?

php4_cgi=yes
php5_cli=yes

Thanks all
 
Back
Top