Control Web Panel

WebPanel => Apache => Topic started by: NBO on August 03, 2016, 08:26:03 AM

Title: enable module expires/headers
Post by: NBO on August 03, 2016, 08:26:03 AM
Hello Team,

I have a simple question ;)

I need to enable two module :
- headers
- expires

I know i have to rebuild apache and i have to add two lines in the text box :
--enable-expires
--enable-headers

Where i have to put these lines ? juste at the end of the textbox after have choosen apache and suPHP version ?

And my apache server is in production so i would like to know if its safe to rebuild apache ? There is not configuration files deleted ? or anything ?

Thanks upfront,

N.B
Title: Re: enable module expires/headers
Post by: Sandeep on August 03, 2016, 08:34:49 AM
rebuild the apache with this flags
--enable-expires
--enable-headers
Title: Re: enable module expires/headers
Post by: NBO on August 03, 2016, 09:31:20 AM
Hello sandeep,

Thanks for your answer.

i know i have to add these flags...but where...after click next on the rebuild page ?

My server is in production with several website, i dont want to make it unaivalable during the rebuild for nothing :/
Title: Re: enable module expires/headers
Post by: Administrator on August 03, 2016, 05:18:37 PM
in the apache rebuilder where all other flags are also,  you can also contact our support to do that for you if you don't want to do that by yourself
Title: Re: enable module expires/headers
Post by: NBO on August 04, 2016, 09:47:04 AM
Hello,

yeah i know for your support i used it several time before and is great !
But i would like to try by myself...

So the rebuilder can be used in CWP GUI or in CLI ?
because i dont know where to put the flags in GUI the only things i see is the modules loaded and a field to choose the apache version. There is nothing else.