[support] Disappearing .htaccess File

philip at philipnet.com philip at philipnet.com
Sun Jul 20 07:04:32 UTC 2008


Quoting "Steve Edwards" <killshot91 at comcast.net>:

> I've been working on a customer site on my server, and I uploaded it  
> to the client server today.  The front page displayed fine,
> but when I click on any links, I get page not found errors.  I'm  
> using clean URLs on my server (like I do on every project), and I
> noticed that the .htaccess file was missing.  I uploaded it twice,  
> but when I go to another folder and come back, it's gone, as if
> I never uploaded it in the first place.  I asked the client about  
> it, and they know of nothing that would do that.  Has anybody
> seen this before, or know how to fix it?

Hey Steve,

Under UNIX/Linux any file that starts with a '.' is considered a  
hidden file - i.e. a file that's not normally shown when you list the  
contents of a directory.

There should be an option on your FTP client to show hidden files.

Note that even if hidden, the .htaccess file still exists and should  
take effect. However it sounds like it doesn't. Can you examine/modify  
the Apache configuration so that .htaccess file take effect?
Something like:

<Directory "/location/on/remote/server/to/drupal/installation">
   Options All
   AllowOverride All
</Directory>

in the Apache configuration should work.

Regards.

Philipnet.
-- 
http://www.philipnet.com/
http://windowsadvice.com/blogs/philipnet/

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


More information about the support mailing list