Page 1 of 1

Port change error in Apache

Posted: Fri Nov 18, 2005 12:31 am
by MSB
Changing the port listen from 80 to 8070 (or any other available port) isn't working on my new install of Gentoox Home 4.0 with apache emerged. Am I missing to change it someplace else? I changed the information in /etc/apache2/httpd.conf using pico. I get the following error when I open up the page after chaging the conf file:

Not Found

The requested URL /phpsysinfo/index.php was not found on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Apache Server at xbox Port 8070

If I leave it at default 80, it works just fine. I am stumped!

Posted: Fri Nov 18, 2005 10:36 am
by cheesyboofs
You are doing a

Code: Select all

./etc/init.d/apache2 restart
after the change?

Posted: Sat Nov 19, 2005 6:39 am
by orochi
and a

Code: Select all

netstat -a

Posted: Sat Nov 19, 2005 2:55 pm
by MSB
I had to make the following edits to get it working:

pico -w /etc/apache2/httpd.conf
-> Listen xbox:8070

pico -w /etc/conf.d/apache2

pico -w /etc/apache2/vhosts.d/00_default_vhost.conf
-> NameVirtualHost xbox:8070 and
-> <VirtualHost xbox:8070>