Re: [users@httpd] How to use binary to run httpd in different location

2017-08-02 Thread William A Rowe Jr
On Wed, Aug 2, 2017 at 6:24 AM, Eric Covener  wrote:
> On Wed, Aug 2, 2017 at 5:21 AM, Hemant Chaudhary
>  wrote:
>> Hi
>>
>> I have ported apache on my machine. I have copied bin,lib.conf,modules,
>> htdocs,logs to another location. Now I want to run my apache in new location
>> with these things only.
>> I changed path in httpd.conig and apachectl of new location, but while
>> starting it is starting apache in old location.
>>
>> For example :
>> I ported apache on /home/hemant ..
>> I copied bin,conf,logs,htdocs,modules to /home/rakesh and in httpd.config I
>> replace all path of /home/hemant to /home/rakesh and changed port also. But
>> when I am starting apache, it is only starting at /home/hemant.
>
> pass -d  /home/rakesh/... to apachectl?

That would be the best case. It might also be necessary to flip the
LD_LIBRARY_PATH to point to the {httpd-dir}/lib directory so that all
of the linked libraries are loaded correctly.

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



RE: [users@httpd] Hide URL link of target

2017-08-02 Thread Berneburg, Cris J. - US
Chris

Chris Chia wrote:

Chris> Is there a way to hide the URL link when hover over the link
Chris> and also when browser is in the process of connecting to target site.

Gillis J. de Nijs replied:

Gillis> Displaying the URL when hovering over the link or loading
Gillis> the site is something your browser does, and not something
Gillis> Apache httpd has any control over.

Good point.  :-)

It is possible code all links to call JavaScript to submit forms.  Therefore, 
each link would require it's own form, and each link would in effect be a POST 
and not a GET.  Hovering the mouse over a link would not show the URL in the 
bubble or status bar.

Kurt Bremser also replied:

Kurt> a look at the source code on the browser (you cannot
Kurt> block that from the server) will reveal the URL anyway

Also a good point.  :-)

It might be possible to encode the URL's in the forms in some way to hide the 
values, but they could still be decoded by a determined person.

--
Cris Berneburg
CACI Lead Software Engineer



Re: [users@httpd] Apache + virtual hosts + php-fpm?

2017-08-02 Thread Daniel
If you pay attention to everything in that page seems totally outdated.

Better check: http://php.net/manual/en/install.fpm.php

or this:

http://php.net/manual/en/book.fpm.php


No matter how you look at it, except for a very knowledgeable few,
mod_php just confuses the hell of a lot of people.

Moving to fpm helps people:

* Allow the use of event in httpd, using the best scaling mpm there is
for httpd.
* Discern where their real problems are when there are slowdowns.
* Better choice for configurations through different pools in FPM.
* Can even separate Apache from PHP execution in different boxes to
distribute load accordingly, cheaper boxes can be used for httpd, and
probably heavier processing ones for PHP with fpm.
etc etc..


2017-08-02 15:23 GMT+02:00 Eric Covener :
> On Wed, Aug 2, 2017 at 9:12 AM, Rose, John B  wrote:
>> Looking at the php-fpm homepage …
>>
>> https://php-fpm.org
>>
>> it says this …
>>
>> It was not designed with virtual hosting in mind (large amounts of pools)
>> however it can be adapted for any usage model.
>>
>> Are folks using Apache with numerous virtual hosts, still using mod_php as
>> the preferred approach? With I assume prefork MPM?
>
> I can only assume they mean "hundreds of users with their own pools in
> one fpm daemon" as you might find on shared hosting / mass hosting.
>
> Most people on php-fpm will have moved on to event. Once the PHP
> interpreter outside of the server, there's no reason to stay on
> prefork.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>



-- 
Daniel Ferradal
IT Specialist

email dferradal at gmail.com
linkedin es.linkedin.com/in/danielferradal

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Apache 2.4.25 AIX rpms

2017-08-02 Thread Deepak Kumar
Hi Eric,
I am not using the compile method. I am installing apache and it's
dependent RPMs on AIX.
On Wed, Aug 2, 2017 at 08:24 Eric Covener  wrote:

> On Wed, Aug 2, 2017 at 8:17 AM, Deepak Kumar  wrote:
> > Hi Krishna
> > Can I ignore devel packages? Or do we need them for apache? Thanks !
>
> If you're compiling the server or invididual modules, you need them.
> Otherwise, you don't.
>
> -
> To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
> For additional commands, e-mail: users-h...@httpd.apache.org
>
> --
--
Thanks & Regards,
Deepak Kumar


Re: [users@httpd] Apache 2.4.25 AIX rpms

2017-08-02 Thread Eric Covener
On Wed, Aug 2, 2017 at 8:17 AM, Deepak Kumar  wrote:
> Hi Krishna
> Can I ignore devel packages? Or do we need them for apache? Thanks !

If you're compiling the server or invididual modules, you need them.
Otherwise, you don't.

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] Apache + virtual hosts + php-fpm?

2017-08-02 Thread Eric Covener
On Wed, Aug 2, 2017 at 9:12 AM, Rose, John B  wrote:
> Looking at the php-fpm homepage …
>
> https://php-fpm.org
>
> it says this …
>
> It was not designed with virtual hosting in mind (large amounts of pools)
> however it can be adapted for any usage model.
>
> Are folks using Apache with numerous virtual hosts, still using mod_php as
> the preferred approach? With I assume prefork MPM?

I can only assume they mean "hundreds of users with their own pools in
one fpm daemon" as you might find on shared hosting / mass hosting.

Most people on php-fpm will have moved on to event. Once the PHP
interpreter outside of the server, there's no reason to stay on
prefork.

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] Apache + virtual hosts + php-fpm?

2017-08-02 Thread Rose, John B
Looking at the php-fpm homepage …

https://php-fpm.org

it says this …

It was not designed with virtual hosting in mind (large amounts of pools) 
however it can be adapted for any usage model.

Are folks using Apache with numerous virtual hosts, still using mod_php as the 
preferred approach? With I assume prefork MPM?





Re: [users@httpd] Apache 2.4.25 AIX rpms

2017-08-02 Thread Deepak Kumar
Hi Krishna
Can I ignore devel packages? Or do we need them for apache? Thanks !


On Wed, Aug 2, 2017 at 05:19 Chunduru, Krishnachaithanya <
krishnachaithanya.chund...@broadridge.com> wrote:

> Hi,
>
>
>
> If you have support with IBM you can download the required package for the
> IBM TOOLBOX.
>
>
>
> Try checking in the below link.
>
>
>
>
> http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/date.html#downloads
>
>
>
> *Regards,*
>
> *Krishna*
>
>
>
> *From:* Deepak Kumar [mailto:deepak...@gmail.com]
> *Sent:* Wednesday, August 02, 2017 3:39 AM
> *To:* users@httpd.apache.org
> *Subject:* [users@httpd] Apache 2.4.25 AIX rpms
>
>
>
> Hi,
>
> I am installing Apache 2.4.25 on Aix 6.1. Can i ignore devel packages for
> higher environments?
>
> There are a bunch of devel rpms recommended in Bullfreeware.
>
>
>
> --
>
> --
>
> Thanks & Regards,
>
> Kumar
>
> This message and any attachments are intended only for the use of the
> addressee and may contain information that is privileged and confidential.
> If the reader of the message is not the intended recipient or an authorized
> representative of the intended recipient, you are hereby notified that any
> dissemination of this communication is strictly prohibited. If you have
> received this communication in error, please notify us immediately by
> e-mail and delete the message and any attachments from your system.
>
-- 
--
Thanks & Regards,
Deepak Kumar


Re: [users@httpd] How to use binary to run httpd in different location

2017-08-02 Thread Eric Covener
On Wed, Aug 2, 2017 at 5:21 AM, Hemant Chaudhary
 wrote:
> Hi
>
> I have ported apache on my machine. I have copied bin,lib.conf,modules,
> htdocs,logs to another location. Now I want to run my apache in new location
> with these things only.
> I changed path in httpd.conig and apachectl of new location, but while
> starting it is starting apache in old location.
>
> For example :
> I ported apache on /home/hemant ..
> I copied bin,conf,logs,htdocs,modules to /home/rakesh and in httpd.config I
> replace all path of /home/hemant to /home/rakesh and changed port also. But
> when I am starting apache, it is only starting at /home/hemant.

pass -d  /home/rakesh/... to apachectl?



-- 
Eric Covener
cove...@gmail.com

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



RE: [users@httpd] Apache 2.4.25 AIX rpms

2017-08-02 Thread Chunduru, Krishnachaithanya
Hi,

If you have support with IBM you can download the required package for the IBM 
TOOLBOX.

Try checking in the below link.

http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/date.html#downloads

Regards,
Krishna

From: Deepak Kumar [mailto:deepak...@gmail.com]
Sent: Wednesday, August 02, 2017 3:39 AM
To: users@httpd.apache.org
Subject: [users@httpd] Apache 2.4.25 AIX rpms

Hi,
I am installing Apache 2.4.25 on Aix 6.1. Can i ignore devel packages for 
higher environments?
There are a bunch of devel rpms recommended in Bullfreeware.

--
--
Thanks & Regards,
Kumar

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.


Re: [users@httpd] How to use binary to run httpd in different location [wd-vc]

2017-08-02 Thread Bremser, Kurt (Allianz Technology GmbH)
You "only" need to create a new configuration subtree (conf, htdocs, cgi-bin, 
icons, images, logs) and run the httpd with the -f option that points to the 
new httpd.conf file.
In the conf file, adapt ServerRoot accordingly, and use absolute paths to the 
modules.
Make sure to run the envvars from the bin directory before you start httpd (it 
sets the necessary path env variables).

Kurt Bremser
Allianz Technology GmbH

Newton was wrong. There is no gravity. The Earth sucks.

Von: Hemant Chaudhary [hemantdude.chaudh...@gmail.com]
Gesendet: Mittwoch, 2. August 2017 11:21
An: users@httpd.apache.org
Betreff: [users@httpd] How to use binary to run httpd in different location 
[wd-vc]

Hi

I have ported apache on my machine. I have copied bin,lib.conf,modules, 
htdocs,logs to another location. Now I want to run my apache in new location 
with these things only.
I changed path in httpd.conig and apachectl of new location, but while starting 
it is starting apache in old location.

For example :
I ported apache on /home/hemant ..
I copied bin,conf,logs,htdocs,modules to /home/rakesh and in httpd.config I 
replace all path of /home/hemant to /home/rakesh and changed port also. But 
when I am starting apache, it is only starting at /home/hemant.

Without again configure,make and make install can I use it another location ?

Thanks
Hemant




Allianz Technology GmbH 
1130 Wien, Hietzinger Kai 101-105 
FN 365014k, Handelsgericht Wien 
UID: ATU 66614737 

http://www.allianz.at 

 
Dieses E-Mail und allfaellig daran angeschlossene Anhaenge 
enthalten Informationen, die vertraulich und 
ausschliesslich fuer den (die) bezeichneten Adressaten 
bestimmt sind. 
Wenn Sie nicht der genannte Adressat sind, darf dieses 
E-Mail samt allfaelliger Anhaenge von Ihnen weder anderen 
Personen zugaenglich gemacht noch in anderer Weise 
verwertet werden.
Wenn Sie nicht der beabsichtigte Empfaenger sind, bitten
wir Sie, dieses E-Mail und saemtliche angeschlossene
Anhaenge zu loeschen. 

Please note: This email and any files transmitted with it is 
intended only for the named recipients and may contain 
confidential and/or privileged information. If you are not the 
intended recipient, please do not read, copy, use or disclose 
the contents of this communication to others and notify the 
sender immediately. Then please delete the email and any 
copies of it. Thank you.



-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] How to use binary to run httpd in different location

2017-08-02 Thread Hemant Chaudhary
Hi

I have ported apache on my machine. I have copied bin,lib.conf,modules,
htdocs,logs to another location. Now I want to run my apache in new
location with these things only.
I changed path in httpd.conig and apachectl of new location, but while
starting it is starting apache in old location.

For example :
I ported apache on /home/hemant ..
I copied bin,conf,logs,htdocs,modules to /home/rakesh and in httpd.config I
replace all path of /home/hemant to /home/rakesh and changed port also. But
when I am starting apache, it is only starting at /home/hemant.

Without again configure,make and make install can I use it another location
?

Thanks
Hemant