Yes... Reboot too.



On 03/27/2013 08:11 PM, mr.chew.baka at gmail.com wrote:
> Are you restarting apache after you make config changes?
>
> ----- Reply message -----
> From: "Raymond Norton" <admin at lctn.org>
> To: "TCLUG" <tclug-list at mn-linux.org>
> Subject: [tclug-list] Ubuntu 12.04 / apache2 redirect
> Date: Wed, Mar 27, 2013 16:22
>
>
> I'm attempting to set up a website on port 8001 of a new Ubuntu 12.04
> box (LAMP). I have verified apache is listening on that port via grep
> and telnet. However, if  I attempt to browse to it from another box, by
> IP or fqdn:8001, the browser is redirected to port 80. I did not
> knowingly install any type of proxy on the box and do not have IPTables
> running. Any ideas what might be intercepting the request?
>
> If I enable port 80 in ports.conf , I get a message "Apache/2.2.22
> (Ubuntu) Server at server Port 80", after attempting to reach the site
> via http://fqdn:8001, or http://ip:8001
>
> This is what I have for config files:
>
> ports.conf:
> NameVirtualHost *:8001
> #Listen 80
> Listen 8001
>
>
> Sites-enabled: Default
> <VirtualHost *:8001 >
>         ServerAdmin webmaster at localhost
>         servername x.domain
>
>         DocumentRoot /var/www
>         <Directory />
>                 Options FollowSymLinks
>                 AllowOverride None
>         </Directory>
> </VirtualHost>
> ~
>
> Raymond
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> tclug-list at mn-linux.org
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list
>
> -- 
> This message has been scanned for viruses and
> dangerous content by *MailScanner* <http://www.mailscanner.info/>, and is
> believed to be clean.
>
>
> _______________________________________________
> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
> tclug-list at mn-linux.org
> http://mailman.mn-linux.org/mailman/listinfo/tclug-list

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.mn-linux.org/pipermail/tclug-list/attachments/20130327/d749ecbd/attachment.html>