Page 1 of 1

Getting a 404 when I have changed the Apache Port to 82

Posted: 28 Apr 2008, 19:23
by hooper35
I have just changed the Apache Port on my Bubba from 80 to 82 and now I don't seem to get to the home page on http://bubba:82/ I get a 404 instead.

However, I can get to the log on page on http://bubba:82/web-admin/index.php

Any ideas why this might be happening?

Posted: 29 Apr 2008, 01:18
by Eek
Where did you change the port number?
cheers
Eek

Posted: 29 Apr 2008, 16:09
by hooper35
In /etc/apache2/ports.conf

I hope that's correct!

Posted: 30 Apr 2008, 01:46
by Eek
That is correct

but for http://bubba:82 to work you also need to change the virtualhost so it knows which DocumentRoot to use.

change all occurences of the port number 80 to 82 in the file /etc/apache2/sites-enabled/bubba

cheers
Eek