<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 12/21/12 11:47 PM, Alok Singh Mahor
wrote:<br>
</div>
<blockquote
cite="mid:CAG2qO80-Km3r993=T83J-ibf9UsUszNcscMe3LsuJcQZvBW5aw@mail.gmail.com"
type="cite"><br>
<br>
<div class="gmail_quote">On Sat, Dec 22, 2012 at 10:01 AM, Richard
Damon <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:Richard@damon-family.org" target="_blank">Richard@damon-family.org</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
<div>
<div class="h5">
<div>On 12/21/12 11:08 PM, Alok Singh Mahor wrote:<br>
</div>
<blockquote type="cite"><br>
<br>
<div class="gmail_quote">On Sat, Dec 22, 2012 at 5:12
AM, Neil Adair <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:neiltadair@gmail.com"
target="_blank">neiltadair@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div>You might not have copied and restored the
.htaccess file which comes with Drupal.<span><font
color="#888888"><br>
<br>
</font></span></div>
<span><font color="#888888">Neil<br>
</font></span></div>
</blockquote>
I copied and restored whole drupal folder so i guess
there is no point of missing .htaccess file<br>
i used <br>
cp -r /var/www/drupal/ ~/DATA (for backup)<br>
cp -r ~/DATA/drupal /var/www (for restoring)<br>
</div>
<br>
</blockquote>
</div>
</div>
Note that cp does not copy "hidden" files (files that begin
with .) by default.<br>
Since you specified /var/www/drupal/ (with the trailing /)
it only selected the "normal" files in that directory. I
think if you had specified the source as /var/www/drupal
(with without the slash) then you get the hidden files.<span
class="HOEnZb"><font color="#888888"><br>
<br>
</font></span></div>
</blockquote>
<div> but I can clearly see .htaccess file in /var/www/drupal<br>
</div>
</div>
<br>
</blockquote>
You may have set a option to default to showing hidden files, or
using a different tool that shows them. On *nix systems, file names
that begin with . are special and considered "hidden", and many
utilities do not work on them by default. For example, ls the normal
file listing tools, only shows these files if you give the -a
option.<br>
<br>
<pre class="moz-signature" cols="72">--
Richard Damon</pre>
</body>
</html>