How can i configure the listening IP:Port of Apache2?
Hi everyone.
I am quite new to BT and i came across with a issue yesterday and since then i havent managed to find a solution. My problem is that i would like to start the Apache server but i dont know where i can configure the listening IP:port.
In other linux Distros i used to compile, run and configure apache but in BT i have noticed that the configuration is done with a different method. For example i used to configure all the settings of the server within "httpd.conf" but i noticed that in BT the configuration is splitted in more files (ports.conf etc) hence i cannot find where exactly i can configure the listening IP-port.
I just need my apache to run on (lets say): 192.168.1.33:8080
thanks in advance
p.s oops i posted the same thread on "how to" section...sorry
Re: How can i configure the listening IP:Port of Apache2?
it's not BT4 related, this is the usual setup of Apache2
Code:
cd /etc/apache2/ && grep -i listen *
..will tell you, port.conf is what you are looking for (overwriting global var)
and if you run multiple sites/ip's, you need the according vhost configuration
Code:
cd /etc/apache2/sites-enabled
/brtw2003
Re: How can i configure the listening IP:Port of Apache2?
Re: How can i configure the listening IP:Port of Apache2?
Thanks a lot that worked!
The default way when configuring apache, as far as i know and as far as many times iv downloaded and compiled the server, all configuration including the listening port was done through:
httpd.conf (according to TFM)
From there, is up to the user if he would like to generate extra ".conf" files and inlcude them - call them from the main configuration file httpd.conf. I assume it has to do with different versions. But anyway, issue solved.
Thanks for the quick replay and support
yours