* apache configuration [not found] <1B15C62CF9A0D311BD210008C7CF02E502154F79@tayexc04.tay.dec.com> @ 2000-07-26 14:56 ` Speedracer 2000-07-26 15:14 ` Michael A. Smith 2000-07-26 15:30 ` Richard June 0 siblings, 2 replies; 5+ messages in thread From: Speedracer @ 2000-07-26 14:56 UTC (permalink / raw) To: Redhat Alpha List I'm recompiling apache from scratch on a Stock RH6.2 system. Since I've been using the stock Apache that came with RH I'd like to keep the directory structure the same (it's got a lot of virtual sites on it. I'm wondering if anyone has the configure options used so that when I recompile I don't have to change and file locations etc. i.e. ./configure --sysconfdir /etc/httpd/conf/ .....etc. Just trying to see if anyone has this already handy so I don't have to go through and figure it out. TIA \--------------------------------------------------------------------------/ \ Aaron Gee AKA Spdracer / \"Maseratis are more than cars, they are a passion that is understood / \by some, but enjoyed by a very few" / \URL---> http://www.italian-cars.com / \e-mail--> spdracer@america.com Fax-->1 (904) 253 1006 / \--------------------------------------------------------------/ \ | / \_|_/ (---) 0 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: apache configuration 2000-07-26 14:56 ` apache configuration Speedracer @ 2000-07-26 15:14 ` Michael A. Smith 2000-07-26 15:32 ` Speedracer 2000-07-26 15:30 ` Richard June 1 sibling, 1 reply; 5+ messages in thread From: Michael A. Smith @ 2000-07-26 15:14 UTC (permalink / raw) To: axp-list > I'm recompiling apache from scratch on a Stock RH6.2 system. Since I've > been using the stock Apache that came with RH I'd like to keep the > directory structure the same (it's got a lot of virtual sites on it. I'm > wondering if anyone has the configure options used so that when I > recompile I don't have to change and file locations etc. > > i.e. ./configure --sysconfdir /etc/httpd/conf/ .....etc. Check the INSTALL file in the Apache dir. There's a config flag (--with-layout=XXXX) that lets you easily set the whole Apache directory layout. I thought that there used to be a Red Hat compatible layout (e.g. --with-layout-redhat or somthing) but I see no reference to it in the current INSTALL file. You can make your own custom layout files, also. Maybe someone has a Red Hat comaptible layouyt file. From INSTALL: <SNIP> Use the --with-layout=[F:]ID option to select a particular installation path base-layout. You always _HAVE_ to select a base-layout. There are currently two layouts pre-defined in the file config.layout: `Apache' for the classical Apache path layout and `GNU' for a path layout conforming to the GNU `standards' document. When you want to use your own custom layout FOO, either add a corresponding "<Layout FOO>...</Layout>" section to config.layout and use --with-layout=FOO or place it into your own file, say config.mypaths, and use --with-layout=config.mypaths:FOO. Use the --show-layout option to check the final installation path layout while fiddling with the options above. </SNIP> -- Michael A. Smith -- Programmer at Large Phone:703-625-5732 Fax: 801-650-0853 ICQ: 35884415 :wq ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: apache configuration 2000-07-26 15:14 ` Michael A. Smith @ 2000-07-26 15:32 ` Speedracer 0 siblings, 0 replies; 5+ messages in thread From: Speedracer @ 2000-07-26 15:32 UTC (permalink / raw) Cc: axp-list There used to be a redhat layout with rpevious versions, not with this one. I was hoping somone from redhat would perhaps post a layout to the list and then I could grab it and snake it away. The last layout I have is, uhm OLD! and not compatible with the current apache configure. On Wed, 26 Jul 2000, Michael A. Smith wrote: > > I'm recompiling apache from scratch on a Stock RH6.2 system. Since I've > > been using the stock Apache that came with RH I'd like to keep the > > directory structure the same (it's got a lot of virtual sites on it. I'm > > wondering if anyone has the configure options used so that when I > > recompile I don't have to change and file locations etc. > > > > i.e. ./configure --sysconfdir /etc/httpd/conf/ .....etc. > > Check the INSTALL file in the Apache dir. There's a config flag > (--with-layout=XXXX) that lets you easily set the whole Apache directory > layout. I thought that there used to be a Red Hat compatible layout > (e.g. --with-layout-redhat or somthing) but I see no reference to it in the > current INSTALL file. > > You can make your own custom layout files, also. Maybe someone has a Red Hat > comaptible layouyt file. > > >From INSTALL: > <SNIP> > Use the --with-layout=[F:]ID option to select a particular installation > path base-layout. You always _HAVE_ to select a base-layout. There are > currently two layouts pre-defined in the file config.layout: `Apache' for > the classical Apache path layout and `GNU' for a path layout conforming > to the GNU `standards' document. When you want to use your own custom > layout FOO, either add a corresponding "<Layout FOO>...</Layout>" section > to config.layout and use --with-layout=FOO or place it into your own > file, say config.mypaths, and use --with-layout=config.mypaths:FOO. > > Use the --show-layout option to check the final installation path layout > while fiddling with the options above. > </SNIP> > > -- > Michael A. Smith -- Programmer at Large > Phone:703-625-5732 > Fax: 801-650-0853 > ICQ: 35884415 > :wq > > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com > > \--------------------------------------------------------------------------/ \ Aaron Gee AKA Spdracer / \"Maseratis are more than cars, they are a passion that is understood / \by some, but enjoyed by a very few" / \URL---> http://www.italian-cars.com / \e-mail--> spdracer@america.com Fax-->1 (904) 253 1006 / \--------------------------------------------------------------/ \ | / \_|_/ (---) 0 ^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: apache configuration 2000-07-26 14:56 ` apache configuration Speedracer 2000-07-26 15:14 ` Michael A. Smith @ 2000-07-26 15:30 ` Richard June 2000-07-26 18:08 ` apache configuration <Answer> Speedracer 1 sibling, 1 reply; 5+ messages in thread From: Richard June @ 2000-07-26 15:30 UTC (permalink / raw) To: Redhat Alpha List THe easy way to get that information would be to grab the SRPM from redhat, install it rpm -Uhv and then look in /usr/src/redhat/SPECS find the apache spec file and you have all teh information about how it was built. On Wed, 26 Jul 2000, Speedracer wrote: > > I'm recompiling apache from scratch on a Stock RH6.2 system. Since I've > been using the stock Apache that came with RH I'd like to keep the > directory structure the same (it's got a lot of virtual sites on it. I'm > wondering if anyone has the configure options used so that when I > recompile I don't have to change and file locations etc. > > i.e. ./configure --sysconfdir /etc/httpd/conf/ .....etc. > > Just trying to see if anyone has this already handy so I don't have to go > through and figure it out. > > TIA > > \--------------------------------------------------------------------------/ > \ Aaron Gee AKA Spdracer / > \"Maseratis are more than cars, they are a passion that is understood / > \by some, but enjoyed by a very few" / > \URL---> http://www.italian-cars.com / > \e-mail--> spdracer@america.com Fax-->1 (904) 253 1006 / > \--------------------------------------------------------------/ > \ | / > \_|_/ > (---) > 0 > > ^ permalink raw reply [flat|nested] 5+ messages in thread
* apache configuration <Answer> 2000-07-26 15:30 ` Richard June @ 2000-07-26 18:08 ` Speedracer 0 siblings, 0 replies; 5+ messages in thread From: Speedracer @ 2000-07-26 18:08 UTC (permalink / raw) To: Redhat Alpha List The source I downloaded did not have the correct config.layout, so I redownloaded the source from apache.org instead of a mirror. Now all is well. In case somone else wants to know the secret, here you go. Use the following config -- ./configure --prefix=/usr \ --with-layout=RedHat \ --add-module=$RPM_SOURCE_DIR/mod_bandwidth.c \ --add-module=$RPM_SOURCE_DIR/mod_put.c \ --activate-module=src/modules/throttle/mod_throttle.o \ --enable-module=all \ --enable-shared=max \ --enable-rule=EAPI \ --disable-rule=WANTHSREGEX \ --disable-module=auth_dbm \ --with-perl=/usr/bin/perl \ --enable-suexec \ --suexec-docroot=/home/httpd/html \ --suexec-caller=nobody and there the current redhat layout looks like the following, you can add it to config.layout if your config.layout does not have it (which would make me VERY suspicous of your source code!!) # RedHat 5.x layout <Layout RedHat> prefix: /usr exec_prefix: $prefix bindir: $prefix/bin sbindir: $prefix/sbin libexecdir: $prefix/lib/apache mandir: $prefix/man sysconfdir: /etc/httpd/conf datadir: /home/httpd iconsdir: $datadir/icons htdocsdir: $datadir/html cgidir: $datadir/cgi-bin includedir: $prefix/include/apache localstatedir: /var runtimedir: $localstatedir/run logfiledir: $localstatedir/log/httpd proxycachedir: $localstatedir/cache/httpd </Layout> \--------------------------------------------------------------------------/ \ Aaron Gee AKA Spdracer / \"Maseratis are more than cars, they are a passion that is understood / \by some, but enjoyed by a very few" / \URL---> http://www.italian-cars.com / \e-mail--> spdracer@america.com Fax-->1 (904) 253 1006 / \--------------------------------------------------------------/ \ | / \_|_/ (---) 0 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-07-26 18:08 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1B15C62CF9A0D311BD210008C7CF02E502154F79@tayexc04.tay.dec.com>
2000-07-26 14:56 ` apache configuration Speedracer
2000-07-26 15:14 ` Michael A. Smith
2000-07-26 15:32 ` Speedracer
2000-07-26 15:30 ` Richard June
2000-07-26 18:08 ` apache configuration <Answer> Speedracer
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox