infernix wrote:
> Centos 4. So I'll recompile with gcc 4 tomorrow, as I'm sure it used gcc 
> 3.4.6 at compile time.


So I recompiled with gcc/g++ 4.1.2, but the problem remains.

I've enabled MPM_PERUSER_DEBUG and ran it through gdb again. It's the 
same segfault. I'm still without a clue as to why it crashes.

I've included as much info as I could gather. Please advise, as I'm at a 
dead end here.

Thanks!

infernix

[EMAIL PROTECTED] conf]# ../bin/httpd -V -v
Server version: Apache/2.2.8 (Unix)
Server built:   May 14 2008 13:51:58
Cpanel::Easy::Apache v3.2.0 rev4183
Server's Module Magic Number: 20051115:11
Server loaded:  APR 1.2.12, APR-Util 1.2.12
Compiled using: APR 1.2.12, APR-Util 1.2.12
Architecture:   32-bit
Server MPM:     Peruser
   threaded:     no
     forked:     yes (variable process count)
Server compiled with....
  -D APACHE_MPM_DIR="server/mpm/experimental/peruser"
  -D APR_HAS_SENDFILE
  -D APR_HAS_MMAP
  -D APR_HAVE_IPV6 (IPv4-mapped addresses enabled)
  -D APR_USE_SYSVSEM_SERIALIZE
  -D APR_USE_PTHREAD_SERIALIZE
  -D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
  -D APR_HAS_OTHER_CHILD
  -D AP_HAVE_RELIABLE_PIPED_LOGS
  -D DYNAMIC_MODULE_LIMIT=128
  -D HTTPD_ROOT="/usr/local/apache"
  -D SUEXEC_BIN="/usr/local/apache/bin/suexec"
  -D DEFAULT_PIDLOG="logs/httpd.pid"
  -D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
  -D DEFAULT_LOCKFILE="logs/accept.lock"
  -D DEFAULT_ERRORLOG="logs/error_log"
  -D AP_TYPES_CONFIG_FILE="conf/mime.types"
  -D SERVER_CONFIG_FILE="conf/httpd.conf"


[EMAIL PROTECTED] bin]# tail -f ../logs/error_log &
[EMAIL PROTECTED] bin]# gdb httpd
GNU gdb Red Hat Linux (6.3.0.0-1.153.el4_6.2rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host 
libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) run -X
Starting program: /usr/local/apache/bin/httpd -X
[Thread debugging using libthread_db enabled]
[New Thread -1208486208 (LWP 9893)]
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
peruser_pre_config(): Initializing child_info_table
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
peruser_pre_config(): Initializing server_environments_table
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
cf_Multiplexer(): user=nobody:99 group=nobody:99 chroot=(null) 
[multiplexer id 0]
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
child_add(): adding child #0
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
senv_add(): Searching for matching senv...
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
senv_add(): Creating new senv
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
child_add(): [0] uid=99 gid=99 type=1 chroot=(null)
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
cf_Processor(): user=benchmar:32007 group=benchmar:32009 chroot=(null)
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
child_add(): adding child #1
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
senv_add(): Searching for matching senv...
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
senv_add(): Creating new senv
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
child_add(): [1] uid=32007 gid=32009 type=2 chroot=(null)
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
cf_Processor(): user=benchma2:32008 group=benchma2:32010 chroot=(null)
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
child_add(): adding child #2
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
senv_add(): Searching for matching senv...
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
senv_add(): Creating new senv
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
child_add(): [2] uid=32008 gid=32010 type=2 chroot=(null)
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
cf_Processor(): user=benchma3:32009 group=benchma3:32011 chroot=(null)
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
child_add(): adding child #3
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
senv_add(): Searching for matching senv...
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
senv_add(): Creating new senv
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
child_add(): [3] uid=32009 gid=32011 type=2 chroot=(null)
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
cf_Processor(): user=benchma4:32010 group=benchma4:32012 chroot=(null)
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
child_add(): adding child #4
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
senv_add(): Searching for matching senv...
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
senv_add(): Creating new senv
[Wed May 14 14:16:04 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
child_add(): [4] uid=32010 gid=32012 type=2 chroot=(null)
[Wed May 14 14:16:04 2008] [warn] NameVirtualHost *:0 has no VirtualHosts
[Wed May 14 14:16:04 2008] [warn] pid file 
/usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of 
previous Apache run?
[Wed May 14 14:16:04 2008] [info] mod_unique_id: using ip addr 81.4.88.56
[Wed May 14 14:16:05 2008] [info] Init: Seeding PRNG with 136 bytes of 
entropy
[Wed May 14 14:16:05 2008] [info] Init: Generating temporary RSA private 
keys (512/1024 bits)
[Wed May 14 14:16:05 2008] [info] Init: Generating temporary DH 
parameters (512/1024 bits)
[Wed May 14 14:16:05 2008] [debug] ssl_scache_dbm.c(409): Inter-Process 
Session Cache (DBM) Expiry: old: 0, new: 0, removed: 0
[Wed May 14 14:16:05 2008] [info] Init: Initializing (virtual) servers 
for SSL
[Wed May 14 14:16:05 2008] [info] mod_ssl/2.2.8 compiled against Server: 
Apache/2.2.8, Library: OpenSSL/0.9.7a
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
peruser_pre_config(): Initializing child_info_table
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
cf_Multiplexer(): user=nobody:99 group=nobody:99 chroot=(null) 
[multiplexer id 0]
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
child_add(): adding child #0
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
senv_add(): Searching for matching senv...
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
senv_add(): Found existing senv: 0
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
child_add(): [0] uid=99 gid=99 type=1 chroot=(null)
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
cf_Processor(): user=benchmar:32007 group=benchmar:32009 chroot=(null)
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
child_add(): adding child #1
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
senv_add(): Searching for matching senv...
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
senv_add(): Found existing senv: 1
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
child_add(): [1] uid=32007 gid=32009 type=2 chroot=(null)
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
cf_Processor(): user=benchma2:32008 group=benchma2:32010 chroot=(null)
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
child_add(): adding child #2
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
senv_add(): Searching for matching senv...
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
senv_add(): Found existing senv: 2
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
child_add(): [2] uid=32008 gid=32010 type=2 chroot=(null)
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
cf_Processor(): user=benchma3:32009 group=benchma3:32011 chroot=(null)
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
child_add(): adding child #3
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
senv_add(): Searching for matching senv...
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
senv_add(): Found existing senv: 3
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
child_add(): [3] uid=32009 gid=32011 type=2 chroot=(null)
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
cf_Processor(): user=benchma4:32010 group=benchma4:32012 chroot=(null)
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
child_add(): adding child #4
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
senv_add(): Searching for matching senv...
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
senv_add(): Found existing senv: 4
[Wed May 14 14:16:05 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
child_add(): [4] uid=32010 gid=32012 type=2 chroot=(null)
[Wed May 14 14:16:05 2008] [warn] NameVirtualHost *:0 has no VirtualHosts
[Wed May 14 14:16:05 2008] [info] mod_unique_id: using ip addr 
192.168.123.56
[Wed May 14 14:16:06 2008] [info] Init: Seeding PRNG with 136 bytes of 
entropy
[Wed May 14 14:16:06 2008] [info] Init: Generating temporary RSA private 
keys (512/1024 bits)
[Wed May 14 14:16:06 2008] [info] Init: Generating temporary DH 
parameters (512/1024 bits)
[Wed May 14 14:16:06 2008] [info] Init: Initializing (virtual) servers 
for SSL
[Wed May 14 14:16:06 2008] [info] mod_ssl/2.2.8 compiled against Server: 
Apache/2.2.8, Library: OpenSSL/0.9.7a
[Wed May 14 14:16:06 2008] [notice] Apache/2.2.8 (Unix) mod_ssl/2.2.8 
OpenSSL/0.9.7a configured -- resuming normal operations
[Wed May 14 14:16:06 2008] [info] Server built: May 14 2008 13:51:58
[Wed May 14 14:16:06 2008] [debug] peruser.c(2240): AcceptMutex: sysvsem 
(default: sysvsem)
[Wed May 14 14:16:06 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
ap_mpm_run(): sizeof(child_info_t) = 180
[Wed May 14 14:16:07 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
make_child(): function entered
[Wed May 14 14:16:07 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
dump_server_env_image(): N   INPUT   OUTPUT
[Wed May 14 14:16:07 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
dump_server_env_image(): 0   7       8
[Wed May 14 14:16:07 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
dump_server_env_image(): 1   9       10
[Wed May 14 14:16:07 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
dump_server_env_image(): 2   11      12
[Wed May 14 14:16:07 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
dump_server_env_image(): 3   13      14
[Wed May 14 14:16:07 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
dump_server_env_image(): 4   15      16
[Wed May 14 14:16:07 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
child_main(): sock_fd_in=7 sock_fd_out=8
[Wed May 14 14:16:07 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
child_main(): MULTIPLEXER 0
[Wed May 14 14:16:07 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
child_main(): updating processor stati
[Wed May 14 14:16:07 2008] [warn] (peruser: pid=9893 uid=0 child=0) 
listen_add(): function entered
[Wed May 14 14:16:07 2008] [debug] proxy_util.c(1670): proxy: grabbed 
scoreboard slot 0 in child 9893 for worker proxy:reverse
[Wed May 14 14:16:07 2008] [debug] proxy_util.c(1778): proxy: 
initialized single connection worker 0 in child 9893 for (*)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208486208 (LWP 9893)]
0x080e08f1 in peruser_post_read (r=0x9a96860) at peruser.c:2742
2742            processor = &CHILD_INFO_TABLE[sconf->senv->processor_id];
(gdb) [Wed May 14 14:16:12 2008] [warn] (peruser: pid=9893 uid=99 
child=0) child_main(): input available ... resetting socket.
[Wed May 14 14:16:12 2008] [warn] (peruser: pid=9893 uid=99 child=0) 
child_main(): marked jmpbuffer
[Wed May 14 14:16:12 2008] [warn] (peruser: pid=9893 uid=99 child=0) 
child_main(): calling process_socket()
[Wed May 14 14:16:12 2008] [warn] (peruser: pid=9893 uid=99 child=0) 
process_socket(): Creating dummy connection to use the vhost lookup api
[Wed May 14 14:16:12 2008] [warn] (peruser: pid=9893 uid=99 child=0) 
process_socket(): Looking up the right vhost
[Wed May 14 14:16:12 2008] [warn] (peruser: pid=9893 uid=99 child=0) 
process_socket(): Base server is benchmark2.local.lan, name based vhosts on
[Wed May 14 14:16:12 2008] [warn] (peruser: pid=9893 uid=99 child=0) 
process_socket(): child_num=0 sock=162056248 sock_fd=30\n
[Wed May 14 14:16:12 2008] [warn] (peruser: pid=9893 uid=99 child=0) 
process_socket(): type=MULTIPLEXER 0
[Wed May 14 14:16:12 2008] [warn] (peruser: pid=9893 uid=99 child=0) 
peruser_process_connection(): function entered
[Wed May 14 14:16:12 2008] [warn] (peruser: pid=9893 uid=99 child=0) 
peruser_process_connection(): leaving (DECLINED)
       (gdb) bt
#0  0x080e08f1 in peruser_post_read (r=0x9a96860) at peruser.c:2742
#1  0x0806e14b in ap_run_post_read_request (r=0x9a96860) at protocol.c:1669
#2  0x08070404 in ap_read_request (conn=0x9a8c9d8) at protocol.c:1011
#3  0x080c0355 in ap_process_http_connection (c=0x9a8c9d8) at 
http_core.c:183
#4  0x080820c9 in ap_run_process_connection (c=0x9a8c9d8) at connection.c:43
#5  0x080e218e in process_socket (p=0x9a8c800, sock=0x9a8c838, 
conn_id=0, bucket_alloc=0x9a94820, pool=0x9a8a7f8) at peruser.c:1035
#6  0x080e5378 in child_main (child_num_arg=Variable "child_num_arg" is 
not available.
) at peruser.c:1769
#7  0x080e62fe in make_child (s=0x9996e28, slot=0) at peruser.c:1954
#8  0x080e7150 in ap_mpm_run (_pconf=0x998f0a8, plog=0x99dd320, 
s=0x9996e28) at peruser.c:2063
#9  0x08068c45 in main (argc=161009824, argv=0x9a8a7f8) at main.c:744
(gdb) bt full
#0  0x080e08f1 in peruser_post_read (r=0x9a96860) at peruser.c:2742
         sconf = (peruser_server_conf *) 0x999c0e0
         processor = Variable "processor" is not available.



httpd.conf:

PidFile logs/httpd.pid
LockFile logs/accept.lock
Listen 0.0.0.0:80
Timeout 300
ExtendedStatus On
ServerAdmin [EMAIL PROTECTED]
ServerName numa.local.lan
LogLevel debug
ServerSignature On
RewriteMap LeechProtect prg:/usr/local/cpanel/bin/leechprotect
RewriteLock /usr/local/apache/logs/rewrite_lock
UserDir public_html
DirectoryIndex index.html.var index.htm index.html index.shtml 
index.xhtml index.wml index.perl index.pl index.plx index.ppl index.cgi 
index.jsp index.js index.jp index.php4 index.php3 index.phtml 
default.htm default.html home.htm index.php5 Default.html Default.htm 
home.html
SSLPassPhraseDialog  builtin
SSLSessionCache         dbm:/usr/local/apache/logs/ssl_scache
SSLSessionCacheTimeout  300
SSLMutex  file:/usr/local/apache/logs/ssl_mutex
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
<IfDefine SSL>
     Listen 0.0.0.0:443
     AddType application/x-x509-ca-cert .crt
     AddType application/x-pkcs7-crl .crl
</IfDefine>
AddHandler cgi-script .cgi .pl .plx .ppl .perl
AddHandler server-parsed .shtml
AddType text/html .shtml
AddType application/x-tar .tgz
AddType text/vnd.wap.wml .wml
AddType image/vnd.wap.wbmp .wbmp
AddType text/vnd.wap.wmlscript .wmls
AddType application/vnd.wap.wmlc .wmlc
AddType application/vnd.wap.wmlscriptc .wmlsc
<Location /whm-server-status>
     SetHandler server-status
     Order deny,allow
     Deny from all
     Allow from 127.0.0.1
</Location>
<IfModule peruser.c>
         ServerLimit 256
         MaxClients 256
         MinSpareProcessors 2
         MaxProcessors 10
         MaxRequestsPerChild 1000
         # kill idle processors after this many seconds (0 to disable)
         IdleTimeout 60
         # kill hung processes after this many seconds (0 to disable)
         ExpireTimeout 300
         # set up a few multiplexer processes running as nobody
         Multiplexer nobody nobody
         # Processor <user> <group> <chroot>  # chroot is optional
         Processor benchmar benchmar
         Processor benchma2 benchma2
         Processor benchma3 benchma3
         Processor benchma4 benchma4
</IfModule>
NameVirtualHost 192.168.123.56:80
NameVirtualHost *
<VirtualHost 192.168.123.56:80>
     ServerName benchmark2.local.lan
     ServerAlias www.benchmark2.local.lan
     DocumentRoot /home/benchma2/public_html
     ServerAdmin [EMAIL PROTECTED]
     UseCanonicalName Off
     CustomLog /usr/local/apache/domlogs/benchmark2.local.lan combined
     CustomLog /usr/local/apache/domlogs/benchmark2.local.lan-bytes_log 
"%{%s}t %I .\n%{%s}t %O ."
     ## User benchma2 # Needed for Cpanel::ApacheConf
     ScriptAlias /cgi-bin/ /home/benchma2/public_html/cgi-bin/

         <IfModule per_user.c>
                 ServerEnvironment benchma2 benchma2
         </IfModule>


</VirtualHost>
<VirtualHost 192.168.123.56:80>
     ServerName benchmark3.local.lan
     ServerAlias www.benchmark3.local.lan
     DocumentRoot /home/benchma3/public_html
     ServerAdmin [EMAIL PROTECTED]
     UseCanonicalName Off
     CustomLog /usr/local/apache/domlogs/benchmark3.local.lan combined
     CustomLog /usr/local/apache/domlogs/benchmark3.local.lan-bytes_log 
"%{%s}t %I .\n%{%s}t %O ."
     ## User benchma3 # Needed for Cpanel::ApacheConf
     <IfModule concurrent_php.c>
         php4_admin_value open_basedir 
"/home/benchma3:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp"
         php5_admin_value open_basedir 
"/home/benchma3:/usr/lib/php:/usr/local/lib/php:/tmp"
     </IfModule>
     <IfModule !concurrent_php.c>
         <IfModule mod_php4.c>
             php_admin_value open_basedir 
"/home/benchma3:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp"
         </IfModule>
         <IfModule mod_php5.c>
             php_admin_value open_basedir 
"/home/benchma3:/usr/lib/php:/usr/local/lib/php:/tmp"
         </IfModule>
         <IfModule sapi_apache2.c>
             php_admin_value open_basedir 
"/home/benchma3:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp"
         </IfModule>
     </IfModule>
     ScriptAlias /cgi-bin/ /home/benchma3/public_html/cgi-bin/

         <IfModule per_user.c>
                 ServerEnvironment benchma3 benchma3
         </IfModule>

</VirtualHost>
<VirtualHost 192.168.123.56:80>
     ServerName benchmark4.local.lan
     ServerAlias www.benchmark4.local.lan
     DocumentRoot /home/benchma4/public_html
     ServerAdmin [EMAIL PROTECTED]
     UseCanonicalName Off
     CustomLog /usr/local/apache/domlogs/benchmark4.local.lan combined
     CustomLog /usr/local/apache/domlogs/benchmark4.local.lan-bytes_log 
"%{%s}t %I .\n%{%s}t %O ."
     ## User benchma4 # Needed for Cpanel::ApacheConf
     <IfModule concurrent_php.c>
         php4_admin_value open_basedir 
"/home/benchma4:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp"
         php5_admin_value open_basedir 
"/home/benchma4:/usr/lib/php:/usr/local/lib/php:/tmp"
     </IfModule>
     <IfModule !concurrent_php.c>
         <IfModule mod_php4.c>
             php_admin_value open_basedir 
"/home/benchma4:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp"
         </IfModule>
         <IfModule mod_php5.c>
             php_admin_value open_basedir 
"/home/benchma4:/usr/lib/php:/usr/local/lib/php:/tmp"
         </IfModule>
         <IfModule sapi_apache2.c>
             php_admin_value open_basedir 
"/home/benchma4:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp"
         </IfModule>
     </IfModule>
     ScriptAlias /cgi-bin/ /home/benchma4/public_html/cgi-bin/

         <IfModule per_user.c>
                 ServerEnvironment benchma4 benchma4
         </IfModule>

</VirtualHost>
<VirtualHost 192.168.123.56:80>
     ServerName benchmark1.local.lan
     ServerAlias www.benchmark1.local.lan
     DocumentRoot /home/benchmar/public_html
     ServerAdmin [EMAIL PROTECTED]
     UseCanonicalName Off
     CustomLog /usr/local/apache/domlogs/benchmark1.local.lan combined
     CustomLog /usr/local/apache/domlogs/benchmark1.local.lan-bytes_log 
"%{%s}t %I .\n%{%s}t %O ."
     ## User benchmar # Needed for Cpanel::ApacheConf
     <IfModule concurrent_php.c>
         php4_admin_value open_basedir 
"/home/benchmar:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp"
         php5_admin_value open_basedir 
"/home/benchmar:/usr/lib/php:/usr/local/lib/php:/tmp"
     </IfModule>
     <IfModule !concurrent_php.c>
         <IfModule mod_php4.c>
             php_admin_value open_basedir 
"/home/benchmar:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp"
         </IfModule>
         <IfModule mod_php5.c>
             php_admin_value open_basedir 
"/home/benchmar:/usr/lib/php:/usr/local/lib/php:/tmp"
         </IfModule>
         <IfModule sapi_apache2.c>
             php_admin_value open_basedir 
"/home/benchmar:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp"
         </IfModule>
     </IfModule>
     ScriptAlias /cgi-bin/ /home/benchmar/public_html/cgi-bin/

         <IfModule per_user.c>
                 ServerEnvironment benchmar benchmar
         </IfModule>

</VirtualHost>


<IfDefine SSL>
</IfDefine>
ErrorDocument 400 /400.shtml
ErrorDocument 401 /401.shtml
ErrorDocument 403 /403.shtml
ErrorDocument 404 /404.shtml
ErrorDocument 500 /500.shtml




_______________________________________________
Peruser mailing list
[email protected]
http://www.telana.com/mailman/listinfo/peruser

Reply via email to