Hi, I'm trying to set up svn on a system with apache1, so I'll be running apache1 and apache2 side by side.
I'm trying to set up apache2 to listen on a different port, but I'm not sure how to open the port in my firewall, or even the process to set up a new port for the apache2 http connection.
What I've done so far is to edit my apache2 httpd.conf to listen on my new port number, and set up my virtual hosts there to match. However, I still couldn't access the site via the new port, so I was told I needed to open the port first in my firewall.
For this, I've edited the iptables for a the new port on utp and tcp protocols:
iptables -A INPUT -d [my.ip] -p tcp --dport [my.port] -j ACCEPT
iptables -A INPUT -d [my.ip]-p utp --dport [my.port] -j ACCEPT
Then I did a save and restart.
Still unable to access on the new port.
Can someone give me a clue on what I'm missing or how to open the port and set up apache conf to the new port properly?
Your help is much appreciated, thanks in advance.
I'm trying to set up apache2 to listen on a different port, but I'm not sure how to open the port in my firewall, or even the process to set up a new port for the apache2 http connection.
What I've done so far is to edit my apache2 httpd.conf to listen on my new port number, and set up my virtual hosts there to match. However, I still couldn't access the site via the new port, so I was told I needed to open the port first in my firewall.
For this, I've edited the iptables for a the new port on utp and tcp protocols:
iptables -A INPUT -d [my.ip] -p tcp --dport [my.port] -j ACCEPT
iptables -A INPUT -d [my.ip]-p utp --dport [my.port] -j ACCEPT
Then I did a save and restart.
Still unable to access on the new port.
Can someone give me a clue on what I'm missing or how to open the port and set up apache conf to the new port properly?
Your help is much appreciated, thanks in advance.