Hi Guys,
I am using Apache httpd 2.4.3 server on my linux machine and my
requirement is to run server on some random port on every bootup which is
available in one text file to me . I have port.txt file under /home/mandar/
directory , i dont see any command line option to httpd to provide
On Tue, Mar 26, 2013 at 7:51 AM, Mandar Nandale
wrote:
> Hi Guys,
>
> I am using Apache httpd 2.4.3 server on my linux machine and my
> requirement is to run server on some random port on every bootup which is
> available in one text file to me . I have port.txt file under /home/mandar/
>
Yes, there is. You can use -C to specify the default port. See
http://httpd.apache.org/docs/2.4/programs/httpd.html#options and
http://httpd.apache.org/docs/2.4/mod/mpm_common.html#listen - just make
sure you don't over-ride it in your httpd.conf.
However, I cannot think of any use case for this.
Thanks Eric setting up environment variable worked for me
On Tue, Mar 26, 2013 at 5:33 PM, Eric Covener wrote:
> On Tue, Mar 26, 2013 at 7:51 AM, Mandar Nandale
> wrote:
> > Hi Guys,
> >
> > I am using Apache httpd 2.4.3 server on my linux machine and my
> > requirement is to run se
@Mandar : Like Pete said, can you shed some light on the use case ?
On Tue, Mar 26, 2013 at 5:54 PM, Mandar Nandale wrote:
> Thanks Eric setting up environment variable worked for me
>
>
>
>
> On Tue, Mar 26, 2013 at 5:33 PM, Eric Covener wrote:
>
>> On Tue, Mar 26, 2013 at 7:51 AM, Mandar Nanda
Basically i am running httpd server on embedded linux gateways and each
gateway running httpd on unique port which will change on every power cycle
and this port information is reported to common web server, for certain
reasons i want all my gateways to run httpd on different and random port
which
Hi Mandar,
I think everyone is intrigued about your "certain reasons" - mainly
because I can run an automated port scan and discover what port the
httpd is running on quicker than you can reboot a machine.
You really need to be investigating other ways to protect each gateway...
Firewall _AND_ acc