-
writing a simple .htaccess
Hi All,
I'm trying to write a simple htaccess file that will enable everyone to brows a link to some folder.
Can anyone please help me?
Thanks,
Nahum
-
-
You need to give more information.
You don't need .htaccess to allow anything.
Generally, it is used to DENY access to certain folders, to redirect users, to set passwords, etc.
If you are trying to remove something that blocks access (password, protected folder, etc) so that a user can visit a restricted page, then the best idea is to instead fix the original problem because that may create conflicts if you try to "undo" it with a second configuration.
So, in general, the answer to your question is to create an entirely blank text document, name it .htaccess and place it in the folder. Technically, that's still using .htaccess, but obviously you don't really need to do that. (I mean this seriously-- for example, if you are combining it with an existing .htaccess file, then you will need to know that.)
Daniel -
Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks