1

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+)$
4

2 回答 2

7

If you are using a FTP program like FileZilla, than click "Server" and than click "Force show hidden files" and you are done!

于 2013-03-29T21:10:16.947 回答
0

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.

于 2013-03-29T21:06:48.977 回答