Apche 2.4 on ubutnu 14.04

nitin chandra nitinchandra1 at gmail.com
Sun Jun 26 18:45:36 UTC 2016


root at Ubuntu-1404-trusty-64-minimal /home/vimal/public_html/passtms # ls -alh
total 36K
drwxr-xr-x 7 root root 4.0K Jun 26 21:51 .
drwxr-xr-x 3 root root 4.0K Apr 24 16:25 ..
drwxr-xr-x 2 root root 4.0K Apr 24 16:25 backup
drwxr-xr-x 2 root root 4.0K May  1 14:51 cgi-bin
-rwxr-xr-x 1 root root    8 Jun 26 21:51 index.html
-rwxr-xr-x 1 root root    6 Apr 27 17:45 index.html~
drwxr-xr-x 2 root root 4.0K Apr 24 16:55 log
drwxr-xr-x 2 root root 4.0K Apr 24 16:25 private
drwxr-xr-x 2 root root 4.0K May  1 12:27 public
root at Ubuntu-1404-trusty-64-minimal /home/vimal/public_html/passtms #

On 26 June 2016 at 23:35, Karl Auer <kauer at biplane.com.au> wrote:
> 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
>
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



More information about the ubuntu-users mailing list