RE: [EMAIL PROTECTED] High availability concept question

2008-05-02 Thread Adam Martin

Guy and Jet, thank you for taking the time to respond.  I appreciate it.

-Original Message-
From: Guy Waugh [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 30, 2008 6:51 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] High availability concept question

Adam Martin wrote:
> If I load balance between two 2.2 Apache HTTP Servers on two separate 
> physical servers, what type of device or software can I place in front

> of the web servers to allow users to access either web server via one
IP 
> Address?  I did a quick search in the documentation but wasn't sure
what 
> to look for.  Would it be as simple as pointing the users to a router 
> configured with some type of forwarding?  How do I prevent this device

> from becoming a single point of failure?  I know these questions are
not 
> Apache specific, at least I don't think they, but after being a member

> of this list for a couple of months and seeing the level of expertise
on 
> this board I figured someone could point me in the right direction.  I

> am not asking for a how-to response, just concepts on where to start
to 
> start looking or which documentation I should look at.  Thanks.

One (open source) solution would be to use an LVS load balancing server 
(http://www.linuxvirtualserver.org) to do the load balancing. If you 
want high availability (no single point of failure in the load balancer)

couple LVS with heartbeat (http://www.linux-ha.org), so that if your 
active load balancer fails, the inactive load balancer takes over.

There is a learning curve with both those technologies, so if you don't 
have much time (or even if you do), it might be worth a visit to 
http://www.ultramonkey.org, Simon Horman's project site, in which he 
supplies prebuilt packages to combine LVS and heartbeat together.

-
The official User-To-User support forum of the Apache HTTP Server
Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] High availability concept question

2008-04-30 Thread Adam Martin
If I load balance between two 2.2 Apache HTTP Servers on two separate
physical servers, what type of device or software can I place in front
of the web servers to allow users to access either web server via one IP
Address?  I did a quick search in the documentation but wasn't sure what
to look for.  Would it be as simple as pointing the users to a router
configured with some type of forwarding?  How do I prevent this device
from becoming a single point of failure?  I know these questions are not
Apache specific, at least I don't think they, but after being a member
of this list for a couple of months and seeing the level of expertise on
this board I figured someone could point me in the right direction.  I
am not asking for a how-to response, just concepts on where to start to
start looking or which documentation I should look at.  Thanks.



RE: [EMAIL PROTECTED] Access is slow when accessed by IP address instead of 'localhost'

2008-03-19 Thread Adam Martin
Dinesh,

 

If accessing the Apache machine from other machines on the network is
slow you may have a missing reverse lookup entry in your DNS.  To test
you might try the following from one of the slow machines.

 

nslookup (hostname where Apache is installed)

nslookup 192.168.1.2

 

The results from the two commands should match.  Another test would be
to add the 192.168.1.2 host to the hosts file on one of the slow
machines and see if response time improves.  Good luck.

 



From: Dinesh Kumar [mailto:[EMAIL PROTECTED] 
Sent: Monday, March 17, 2008 1:35 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Access is slow when accessed by IP address
instead of 'localhost'

 

This is resolved - an entry for 192.168.1.2 in the hosts file did it for
access from the *same* machine.  Now, I'm trying to check how to resolve
the slow response time when accessed over the LAN.   

Thanks to Adam & others who responded.

Regards,
Dinesh.



On Tue, Mar 11, 2008 at 8:13 PM, David Cassidy <[EMAIL PROTECTED]>
wrote:

Sorry

and glad to hear it :)



On Tue, 2008-03-11 at 20:12 +0530, Nilesh Govindrajan wrote:
> On Tue, 11 Mar 2008 14:39:36 +
> David Cassidy <[EMAIL PROTECTED]> wrote:
>
> > Nilesh
> >
> > Check if its doing a reverse lookup.
> >
> > you need DNS for that ...
> >
> > D
> >
> > On Tue, 2008-03-11 at 19:48 +0530, Nilesh Govindrajan wrote:
> > > On Tue, 11 Mar 2008 09:10:16 -0500
> > > "Adam Martin" <[EMAIL PROTECTED]> wrote:
> > >
> > > > Dinesh,
> > > >
> > > >
> > > >
> > > > When I started reading I thought you may be experiencing a delay
> > > > with the host resolution but when you mentioned that you could
> > > > access another Tomcat application using the IP Address it
doesn't
> > > > sound like you are.
> > > >
> > > >
> > > >
> > > > To be sure you may want to add the 192.168.1.2 host to your
hosts
> > > > file on the server and make sure the server is set to resolve
> > > > names locally before accessing DNS to see if it makes any
> > > > difference.  Other than that I got zip.  Good luck.
> > > >
> > > >
> > > >
> > > > 
> > > >
> > > > From: Dinesh Kumar [mailto:[EMAIL PROTECTED]
> > > > Sent: Tuesday, March 11, 2008 6:29 AM
> > > > To: users@httpd.apache.org
> > > > Subject: [EMAIL PROTECTED] Access is slow when accessed by IP
address
> > > > instead of 'localhost'
> > > >
> > > >
> > > >
> > > > Hi all,
> > > >
> > > > I'm facing a peculiar problem.  My environment is as follows:
> > > >
> > > > Apache 2.2.4
> > > > mod_jk 1.2.23
> > > > Tomcat 6.0.13
> > > >
> > > > When I access the Java application running on Tomcat like this:
> > > > curl http://localhost/community/forums/list.page, I get a
> > > > response within 1 second.  However, when I access it like this:
> > > > http://192.168.1.2/community/forums/list.page, the response
takes
> > > > 10 seconds.
> > > >
> > > > To be clear, in both the cases I'm accessing the application
from
> > > > the *same* machine that runs httpd/tomcat.  I found out about
> > > > this issue when I tried to access it from another machine on the
> > > > same LAN, which is how it will be actually accessed when the
> > > > issue is resolved. I tried to find out what happened when I
> > > > accessed it from the same machine on which it is running, and
> > > > found that it behaves similarly as I mentioned above.
> > > >
> > > > 192.168.1.2 is on eth0, and eth0 is setup as a trusted device.
> > > > When I access another Tomcat 6 application running locally like
> > > > this: curl http://192.168.1.2/recruit/admin, the request is
> > > > served instantly.
> > > >
> > > > The extra time occurs between the following lines of mod_jk.log:
> > > >
> > > > [Mon Mar 10 17:03:54 2008] [7071:60304] [debug]
> > > > ajp_send_request::jk_ajp_common.c (1287): (forum) request body
to
> > > > send 0
> > > > - request body to resend 0
> > > > [Mon Mar 10 17:04:04 2008] [7071:60304] [debug]
> > > > ajp_connection_tcp_get_message::jk_ajp_common.c (1043): received
> > > > from ajp13 pos=0 l

RE: [EMAIL PROTECTED] Access is slow when accessed by IP address instead of 'localhost'

2008-03-11 Thread Adam Martin
Dinesh,

 

When I started reading I thought you may be experiencing a delay with
the host resolution but when you mentioned that you could access another
Tomcat application using the IP Address it doesn't sound like you are.

 

To be sure you may want to add the 192.168.1.2 host to your hosts file
on the server and make sure the server is set to resolve names locally
before accessing DNS to see if it makes any difference.  Other than that
I got zip.  Good luck.

 



From: Dinesh Kumar [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 11, 2008 6:29 AM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] Access is slow when accessed by IP address
instead of 'localhost'

 

Hi all,

I'm facing a peculiar problem.  My environment is as follows:

Apache 2.2.4
mod_jk 1.2.23
Tomcat 6.0.13

When I access the Java application running on Tomcat like this:  curl
http://localhost/community/forums/list.page, I get a response within 1
second.  However, when I access it like this:
http://192.168.1.2/community/forums/list.page, the response takes 10
seconds.

To be clear, in both the cases I'm accessing the application from the
*same* machine that runs httpd/tomcat.  I found out about this issue
when I tried to access it from another machine on the same LAN, which is
how it will be actually accessed when the issue is resolved. I tried to
find out what happened when I accessed it from the same machine on which
it is running, and found that it behaves similarly as I mentioned above.

192.168.1.2 is on eth0, and eth0 is setup as a trusted device.  When I
access another Tomcat 6 application running locally like this: curl
http://192.168.1.2/recruit/admin, the request is served instantly.

The extra time occurs between the following lines of mod_jk.log:

[Mon Mar 10 17:03:54 2008] [7071:60304] [debug]
ajp_send_request::jk_ajp_common.c (1287): (forum) request body to send 0
- request body to resend 0
[Mon Mar 10 17:04:04 2008] [7071:60304] [debug]
ajp_connection_tcp_get_message::jk_ajp_common.c (1043): received from
ajp13 pos=0 len=133 max=8192

I thought it was something to do with mod_jk and installed version
1.2.26, but the problem persists.

Any pointers would be welcome!

Thanks,
Dinesh.



RE: [EMAIL PROTECTED] Problem building 2.2.8 on hpux itanum

2008-02-29 Thread Adam Martin
You need to install the expat software.

http://sourceforge.net/projects/expat/


-Original Message-
From: Rush [mailto:[EMAIL PROTECTED] 
Sent: Thursday, February 28, 2008 12:07 PM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Problem building 2.2.8 on hpux itanum


I'm running into identical problem... Did anyone found solution . if
possible can you please email me solution at [EMAIL PROTECTED]


thanks
Rush



Peter Olofson wrote:
> 
> Any ideas I tried 2.2.6 with the same result/problem
> /peo
> I'm trying to build on hpux with hp C compiler, it fails like this:
> .
> .
> Making all in mappers
> Making all in support
> /home/peo/httpd-2.2.8/srclib/apr/libtool --silent --mode=link
cc 
> -g -Ae +Z -mt -L/usr/local/lib   -o htdigest  htdigest.lo   -lm 
> /home/peo/httpd-2.2.8/srclib/pcre/libpcre.la 
> /home/peo/httpd-2.2.8/srclib/apr-util/libaprutil-1.la -lexpat 
> /home/peo/httpd-2.2.8/srclib/apr/libapr-1.la -lrt -lm -lpthread -ldld
> ld: Can't find dependent library "libexpat.so.1"
> Fatal error.
> *** Error exit code 1
> 
> Stop.
> *** Error exit code 1
> 
> Stop.
> *** Error exit code 1
> 
> Stop.
> 
> 
> -
> The official User-To-User support forum of the Apache HTTP Server
Project.
> See http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: [EMAIL PROTECTED]
>"   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context:
http://www.nabble.com/Problem-building-2.2.8-on-hpux-itanum-tp15570478p1
5742275.html
Sent from the Apache HTTP Server - Users mailing list archive at
Nabble.com.


-
The official User-To-User support forum of the Apache HTTP Server
Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[EMAIL PROTECTED] RE: make failure

2008-02-29 Thread Adam Martin
I did not receive any responses to this but figured I would post what I
found in hopes it may help someone in the future.  Sorry for the length.

While doing some additional testing I found that if I cut and pasted the
line that fails during the make and added
-L/scratch/apache/httpd-2.2.8/srclibs/arp/.libs to it the compilation
for that program completed successfully.  But when I attempted to
re-execute the make it failed when trying to build the next program in
the support directory.

I could not find the logic in the makefiles that built the compile
string for the support directory to add the -L option to it.  I then
tried adding the --with-included-apr to the configure script but the
make failed when attempting to compile the support directory with the
same error.

I then tried compiling the software using the gcc 4.2.2 compiler but
experienced the same issue posted by Tamer on 2/27.

gcc: +b: No such file or directory
gcc: /scratch/apache/httpd-2.2.8/srclib/apr/.libs:/opt/apache2/lib: No
such file or directory
*** Error exit code 1

After following the solution Tamer provided and updating libtool in the
Apache distribution directory to version 1.5.26 I successfully compiled
the software using the gcc compiler.

On a side note I wanted to publicly thank Tamer for his assistance.  I
contacted him directly via email out of frustration and he went out of
his way to assist a total stranger.  Thank you.


-Original Message-
From: Adam Martin 
Sent: Tuesday, February 26, 2008 10:09 AM
To: users@httpd.apache.org
Subject: make failure

This is my first attempt to compile the Apache web server so I will try
and include all the relevant information and apologize in advance for
any rookie mistakes.  I have successfully compiled version 2.2.8 on the
IBM AIX, Sun Solaris, and HP-UX PA-RISC platforms but have an issue
trying to compile it on the HP-UX Itanium platform using the HP ANSI C
Compiler.  The configure script appears to complete successfully but
when I attempt to execute the make I receive the following error.

ld: Can't find dependent library "libapr-1.so.2"
Fatal error.

The libapr-1.so.2 file resides in the
/scratch/apache/httpd-2.2.8/srclib/apr/.libs and is linked to the
libapr-1.so.2.12 file.  Here are the options I passed to the configure
script.

./configure --prefix=/opt/apache2 --enable-mods-shared="all cache proxy
authn_alias mem_cache file_cache charset_lite dav_lock disk_cache"


Any suggestions for resolving this would be greatly appreciated.

Make output:
Making all in support
/scratch/apache/httpd-2.2.8/srclib/apr/libtool --silent
--mode=compile cc -g -Ae +Z -mt-DHPUX11 -D_REENTRANT -D_HPUX_SOURCE
-D_LARGEFILE64_SOURCE -I/scratch/apache/httpd-2.2.8/srclib/pcre -I.
-I/scratch/apache/httpd-2.2.8/os/unix
-I/scratch/apache/httpd-2.2.8/server/mpm/prefork
-I/scratch/apache/httpd-2.2.8/modules/http
-I/scratch/apache/httpd-2.2.8/modules/filters
-I/scratch/apache/httpd-2.2.8/modules/proxy
-I/scratch/apache/httpd-2.2.8/include
-I/scratch/apache/httpd-2.2.8/modules/generators
-I/scratch/apache/httpd-2.2.8/modules/mappers
-I/scratch/apache/httpd-2.2.8/modules/database
-I/scratch/apache/httpd-2.2.8/srclib/apr/include
-I/scratch/apache/httpd-2.2.8/srclib/apr-util/include
-I/usr/local/include -I/scratch/apache/httpd-2.2.8/server
-I/scratch/apache/httpd-2.2.8/modules/proxy/../generators
-I/scratch/apache/httpd-2.2.8/modules/ssl
-I/scratch/apache/httpd-2.2.8/modules/dav/main  -prefer-non-pic -static
-c htpasswd.c && touch htpasswd.lo
/scratch/apache/httpd-2.2.8/srclib/apr/libtool --silent
--mode=link cc -g -Ae +Z -mt -L/usr/local/lib   -o htpasswd
htpasswd.lo   -lm /scratch/apache/httpd-2.2.8/srclib/pcre/libpcre.la
/scratch/apache/httpd-2.2.8/srclib/apr-util/libaprutil-1.la -lexpat
/scratch/apache/httpd-2.2.8/srclib/apr/libapr-1.la -lrt -lm -lpthread
-ldld
ld: Can't find dependent library "libapr-1.so.2"
Fatal error.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] Compiling Apache 2.2.8 under HP-UX 11i v2

2008-02-27 Thread Adam Martin
Tamer,

I believe I am experiencing the same issue on HP-UX 11.31 and sent an
email to the group yesterday asking for help.  When I utilize the gcc
compiler I get the same error you do and when I utilize the HP ANSI C
compiler if receive a message:

ld: Can't find dependent library "libapr-1.so.2"

Hopefully someone will have a suggestion.  If I find anything I'll pass
it along.

-Original Message-
From: Tamer Embaby [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 27, 2008 5:15 AM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] Compiling Apache 2.2.8 under HP-UX 11i v2

Hello all,

I'm trying to compile Apache 2.2.8 but failing with something that I
believe to be error on the generated "libtool" utility, or may be a
mistake from my side, but I'm not sure which.

Information about the system:
$ uname -a
HP-UX SPHINX B.11.23 U ia64 4017848671 unlimited-user license

$ gcc -v
Using built-in specs.
Target: ia64-hp-hpux11.23
Configured with: ../gcc/configure
Thread model: posix
gcc version 4.1.1

Apache 2.2.8 source from Apache.org

Configured with:
$ export CC="gcc"
$ export CFLAGS="-mlp64"
$ ./configure --prefix=/apps/apache2.2 --with-included-apr

Everything went fine so far (I can include the output of the command if
needed).

The error:
$ make
... Lots of output ...
/usr/bin/posix/sh /home/te/httpd-2.2.8/srclib/apr/libtool
--silent --mode=link  gcc -pthread  -mlp64 -DHAVE_CONFIG_H -DHPUX11
-D_REENTRANT -D_HPUX_SOURCE
-I/home/te/httpd-2.2.8/srclib/apr-util/include
-I/home/te/httpd-2.2.8/srclib/apr-util/include/private
-I/home/te/httpd-2.2.8/srclib/apr/include
-I/home/te/httpd-2.2.8/srclib/apr-util/xml/expat/lib  -version-info
2:12:2-o libaprutil-1.la -rpath /apps/apache2.2/lib
buckets/apr_brigade.lo buckets/apr_buckets.lo
buckets/apr_buckets_alloc.lo buckets/apr_buckets_eos.lo
buckets/apr_buckets_file.lo buckets/apr_buckets_flush.lo
buckets/apr_buckets_heap.lo buckets/apr_buckets_mmap.lo
buckets/apr_buckets_pipe.lo buckets/apr_buckets_pool.lo
buckets/apr_buckets_refcount.lo buckets/apr_buckets_simple.lo
buckets/apr_buckets_socket.lo crypto/apr_md4.lo crypto/apr_md5.lo
crypto/apr_sha1.lo crypto/getuuid.lo crypto/uuid.lo dbm/apr_dbm.lo
dbm/apr_dbm_berkeleydb.lo dbm/apr_dbm_gdbm.lo dbm/apr_dbm_ndbm.lo
dbm/apr_dbm_sdbm.lo dbm/sdbm/sdbm.lo dbm/sdbm/sdbm_hash.lo
dbm/sdbm/sdbm_lock.lo dbm/sdbm/sdbm_pair.lo encoding/apr_base64.lo
hooks/apr_hooks.lo ldap/apr_ldap_init.lo ldap/apr_ldap_option.lo
ldap/apr_ldap_url.lo misc/apr_date.lo misc/apr_queue.lo
misc/apr_reslist.lo misc/apr_rmm.lo misc/apu_version.lo uri/apr_uri.lo
xml/apr_xml.lo strmatch/apr_strmatch.lo xlate/xlate.lo dbd/apr_dbd.lo
dbd/apr_dbd_mysql.lo dbd/apr_dbd_pgsql.lo dbd/apr_dbd_sqlite2.lo
dbd/apr_dbd_sqlite3.lo   -lrt -lm  -lpthread
/home/te/httpd-2.2.8/srclib/apr-util/xml/expat/lib/libexpat.la
/home/te/httpd-2.2.8/srclib/apr/libapr-1.la -lrt -lm -lpthread
gcc: +b: No such file or directory
gcc:
/home/te/httpd-2.2.8/srclib/apr-util/xml/expat/lib/.libs:/home/te/httpd-
2.2.8/srclib/apr/.libs:/apps/apache2.2/lib: No such file or directory

I ran into "libtool" code and I think libtool script mistakenly passing
gcc the options: "+b ${libdir}" instead of "-Wl,+b -Wl,${libdir}".

Any ideas about if I'm missing something in my configuration? Or
how to fix this issue?

Regards,
Tamer

-
The official User-To-User support forum of the Apache HTTP Server
Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [EMAIL PROTECTED] Question on permissions

2008-02-26 Thread Adam Martin
Richard,

 

I'm new to the group and thought I'd take a crack at this one.  Is
www-data a user or group?  From the end of your email it sounds like a
user since you added it to the rgeddes group but I am a little confused
when you changed the group from rgeddes to www-data in the middle of
your example.  If it is a group then I don't believe you can add a group
to another group in the /etc/group file.

 

If it is a user I did a quick test one of our servers to verify but I
don't believe the adding of a user to a group is dynamic.  In order for
the new group assignment to take affect I had to log out and log in as
the test user for the id command to reflect the change.  You didn't
mention it in your email but did you try and restart your server after
adding the www-data user to the rgeddes group?

 

My apologies if I am misunderstanding your question.

 



From: Richard Geddes [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 26, 2008 10:08 AM
To: users@httpd.apache.org
Subject: Re: [EMAIL PROTECTED] Question on permissions

 

Thanks for the response.  

I set up a directory under the main DocumentRoot called test 

drwxr-xr-x 2 rgeddes rgeddes  80 2008-02-18 15:18 test

and it appeared in a directory listing in the webpage of my main
DocumentRoot.

Changed permissions as follows:

drwxr-x--- 2 rgeddes rgeddes  80 2008-02-18 15:18 test

and test disappears from the webpage (this makes sense)

changed group as follows:

drwxr-x--- 2 rgeddes www-data  80 2008-02-18 15:18 test

and test appears in the webpage (this makes sense) as the servers are
running as www-data.

Now if I change the group back to:

drwxr-x--- 2 rgeddes rgeddes  80 2008-02-18 15:18 test

and I add www-data to the rgeddes group in /etc/group, the directory
fails to show up.  This does not make sense to me as www-data is part of
the rgeddes group and rgeddes has r-x permissions.

Is there a reason why www-data is not being granted rgeddes group
permissions?

Thanks
Richard


Joshua Slive wrote: 

On Mon, Feb 25, 2008 at 12:59 AM, Richard Geddes
<[EMAIL PROTECTED]>   wrote:
  

Hello,
 
 I'm using apache 2.2 on Ubuntu 7.10 setting up name-based
virtual
 hosting .  The apache servers servicing requests run as
www-data.
 
 The idea is to allow users to make their own websites under
their home
 directories, and for the admin to symlink the users'
DocumentRoot
 directories below main DocumentRoot directory, and have the
apache
 configuration file with  sections direct the http
requests
 appropriately.
 
 I got this to work correctly, but I had to set the 'other'
execution bit
 for directories that lead to the users symlinked directory.
This means
 that users will have execute permissions on each others'
directories,
 but I want to keep the users strictly separated from each
other I
 think the FAQ suggests this, if I'm not mistaken, but I think
there is a
 security issue here.


 
Having world-executable (searchable, really) home directories is not
an uncommon configuration. Yes, your users need to be a little more
careful about the permissions of stuff inside their home directories,
but that isn't such a big deal.
 
Alternatively, do the symlink in the other direction: put the
directories under DocumentRoot and include a symlink in the home
directories pointing to the correct location so your users know what
to edit.
 
Joshua.
 
-
The official User-To-User support forum of the Apache HTTP Server
Project.
See http://httpd.apache.org/userslist.html>
  for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
 
 
  


[EMAIL PROTECTED] make failure

2008-02-26 Thread Adam Martin
This is my first attempt to compile the Apache web server so I will try
and include all the relevant information and apologize in advance for
any rookie mistakes.  I have successfully compiled version 2.2.8 on the
IBM AIX, Sun Solaris, and HP-UX PA-RISC platforms but have an issue
trying to compile it on the HP-UX Itanium platform using the HP ANSI C
Compiler.  The configure script appears to complete successfully but
when I attempt to execute the make I receive the following error.

ld: Can't find dependent library "libapr-1.so.2"
Fatal error.

The libapr-1.so.2 file resides in the
/scratch/apache/httpd-2.2.8/srclib/apr/.libs and is linked to the
libapr-1.so.2.12 file.  Here are the options I passed to the configure
script.

./configure --prefix=/opt/apache2 --enable-mods-shared="all cache proxy
authn_alias mem_cache file_cache charset_lite dav_lock disk_cache"


Any suggestions for resolving this would be greatly appreciated.

Make output:
Making all in support
/scratch/apache/httpd-2.2.8/srclib/apr/libtool --silent
--mode=compile cc -g -Ae +Z -mt-DHPUX11 -D_REENTRANT -D_HPUX_SOURCE
-D_LARGEFILE64_SOURCE -I/scratch/apache/httpd-2.2.8/srclib/pcre -I.
-I/scratch/apache/httpd-2.2.8/os/unix
-I/scratch/apache/httpd-2.2.8/server/mpm/prefork
-I/scratch/apache/httpd-2.2.8/modules/http
-I/scratch/apache/httpd-2.2.8/modules/filters
-I/scratch/apache/httpd-2.2.8/modules/proxy
-I/scratch/apache/httpd-2.2.8/include
-I/scratch/apache/httpd-2.2.8/modules/generators
-I/scratch/apache/httpd-2.2.8/modules/mappers
-I/scratch/apache/httpd-2.2.8/modules/database
-I/scratch/apache/httpd-2.2.8/srclib/apr/include
-I/scratch/apache/httpd-2.2.8/srclib/apr-util/include
-I/usr/local/include -I/scratch/apache/httpd-2.2.8/server
-I/scratch/apache/httpd-2.2.8/modules/proxy/../generators
-I/scratch/apache/httpd-2.2.8/modules/ssl
-I/scratch/apache/httpd-2.2.8/modules/dav/main  -prefer-non-pic -static
-c htpasswd.c && touch htpasswd.lo
/scratch/apache/httpd-2.2.8/srclib/apr/libtool --silent
--mode=link cc -g -Ae +Z -mt -L/usr/local/lib   -o htpasswd
htpasswd.lo   -lm /scratch/apache/httpd-2.2.8/srclib/pcre/libpcre.la
/scratch/apache/httpd-2.2.8/srclib/apr-util/libaprutil-1.la -lexpat
/scratch/apache/httpd-2.2.8/srclib/apr/libapr-1.la -lrt -lm -lpthread
-ldld
ld: Can't find dependent library "libapr-1.so.2"
Fatal error.

-
The official User-To-User support forum of the Apache HTTP Server Project.
See http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]