how to compile apache with out depending on the mechine name

Problems with the Solaris version of XAMPP, questions, comments, and anything related.

how to compile apache with out depending on the mechine name

Postby umen » 16. July 2006 14:33

hello all someone recommend me this forum i hope i got to the right place

im compiling apache 1.3 from source like this :
sh -c 'CC="cc" CFLAGS="-g -mt -xcode=pic32 -xarch=v9 -KPIC " ./configure --prefix=/bld/myPlace/Run/apache --enable-module=so --enable-module=most --enable-shared=max --enable-rule=SHARED_CORE --enable-rule=SHARED_CORE' and its working just fine and the apache is working BUT when I take the apache binaries to different unix account
it still looking for paths from my old account =/bld/myPlace/Run/apache even that I did changed in the httpd.conf how can I compile it to be path / machine independent?

Thanks
umen
 
Posts: 1
Joined: 16. July 2006 14:24

Postby krelvinaz » 19. July 2006 00:45

What I've done in the past is always build using my own tree.

the base I've used is /www

You can then symbolically link that to where ever you want the real storage to go or in my case, I create a filesystem called /www and mount it there.

so you would have

Code: Select all
/www
     /etc or conf
     /logs
     /htaccess
     /vhosts
            /host1
            /host2
            /host3
etc...



My current servers are being built on Solaris 10 using ZFS and zones. the global computer is just setup to provide basics, and the web servers are in zones.

I still am working on getting a working Solaris 10 x86 server though.

I'm only playing with Apache 2 though now days.
Kevin
User avatar
krelvinaz
 
Posts: 79
Joined: 02. October 2005 05:46
Location: Mesa, AZ USA


Return to XAMPP for Solaris

Who is online

Users browsing this forum: No registered users and 1 guest