Guest_imported
New member
- Jan 1, 1970
- 0
pls help, im having a problem using the htaccess file, i dont think its reading it???
in windows i cant have a file called ".htaccess" because of the leading "." so i have renamed it to "htaccess"
i have changed this in apache config file like this:
________________________________________________________
# AccessFileName: The name of the file to look for in each directory
# for access control information. See also the AllowOverride directive.
#
AccessFileName htaccess
#
# The following lines prevent htaccess and htpasswd files from being
# viewed by Web clients.
#
<Files ~ "^\htaccess">
Order allow,deny
Deny from all
</Files>
________________________________________________________
and i have put the following htaccess file in a webdirectory on my server:
________________________________________________________
<Limit>
order deny,allow
deny from all
</Limit>
________________________________________________________
this should stop me from seeing anything in this folder right?
the folder it is in:
any help would be appreciated,
thanks,
Thomas Smart
in windows i cant have a file called ".htaccess" because of the leading "." so i have renamed it to "htaccess"
i have changed this in apache config file like this:
________________________________________________________
# AccessFileName: The name of the file to look for in each directory
# for access control information. See also the AllowOverride directive.
#
AccessFileName htaccess
#
# The following lines prevent htaccess and htpasswd files from being
# viewed by Web clients.
#
<Files ~ "^\htaccess">
Order allow,deny
Deny from all
</Files>
________________________________________________________
and i have put the following htaccess file in a webdirectory on my server:
________________________________________________________
<Limit>
order deny,allow
deny from all
</Limit>
________________________________________________________
this should stop me from seeing anything in this folder right?
the folder it is in:
any help would be appreciated,
thanks,
Thomas Smart