Reputation: 10926
I am using Racspace server, whose directory structure is as
ROOT > web > Content
All of the files are placed in content
folder. But when I place .htaccess file it automatically disappears. and rules doesn't work. Whereas it is working fine on local server
The rules that are defined in .htaccess file are
RewriteEngine on
RewriteRule ^dashboard/([0-9]*)?$ dashboard.php?user_id=$1 [NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}.php -f
RewriteRule ^(.*)$ $1.php [NC,L]
RewriteCond %{QUERY_STRING} ^(\w+)=(\w+)$
Upvotes: 2
Views: 4285
Reputation: 469
If you are using a FTP program like FileZilla, than click "Server" and than click "Force show hidden files" and you are done!
Upvotes: 8
Reputation: 19563
I'm going to guess that its actually there, you just need to know to see it. In linux any filename starting with a .
is considered hidden and will not display by default.
If you are access the file via ssl, you can see hidden files with ls -a
. If you are using another client, you may need to configure it to show hidden files.
Upvotes: 0