Apche 2.4 on ubutnu 14.04

Karl Auer kauer at biplane.com.au
Sun Jun 26 18:05:09 UTC 2016


On Sun, 2016-06-26 at 22:48 +0530, nitin chandra wrote:
> Issue : Web page does not refresh with new edit.

This is almost always because the page you are editing is not the page
you are displaying.

Temporarily remove ALL files from wherever you have your index.html
file (the one you are editing). Reload the page. If you still get
"vimal2", then it is not coming from the file you were expecting it to
come from.

> browser : 13x.2xx.91.2xx   -- works
>                 passtms.in          -- does not work

Do you mean that if you use the IP address of the server, your change
is displayed, but if you use the name of the server your change is not
displayed?

This suggests that your index.html is in the directory served by the
default configuration - not in the directory served by the desired
named virtual host.

> /etc/apache2/sites-available # ls
> 000-default.conf  000-default.conf~  default-ssl.conf
> default-ssl.conf~  passtms.in.conf

Have you enabled the site? you need a link in /etc/apache2/sites
-enabled pointing to /etc/apache2/sites-available/passtms.in.conf. Use
the program a2ensite to enable sites.

Regards, K.

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer
http://twitter.com/kauer389

GPG fingerprint: E00D 64ED 9C6A 8605 21E0 0ED0 EE64 2BEE CBCB C38B
Old fingerprint: 3C41 82BE A9E7 99A1 B931 5AE7 7638 0147 2C3C 2AC4







More information about the ubuntu-users mailing list