Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have got a default ISP installation. The problem I have encountered is .htaccess isn't taken into account when existing files are requested. I added "sdfsdfs" in my .htaccess, so when I request something like /catalogue/index I do get an error. However requesting /images.test.png simply opens it as though I didn't mess anything up.

share|improve this question

closed as not a real question by mdpc, Bryan, Scott Pack, Tom O'Connor, Michael Hampton Dec 18 '12 at 22:05

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Where is your .htaccess file in your website structure? What does it look like? What is the "sdfsdfs" you mention? – mdpc Dec 18 '12 at 20:15

.htaccess files have been used very effectively for things like what you are asking.....but they have to be configured properly and properly located in the website hierarchy.

The .htaccess file is ONLY effective starting at the directory level you physically place the file in and will apply to sub-directories if it is not overridden by another .htaccess file.

You might be looking for the "directory" or "location" directives that you could place in the appropriate httpd.conf file as well.

share|improve this answer
I'd further strongly suggest that you take a look at the Apache documentation on – mdpc Dec 18 '12 at 20:28

Not the answer you're looking for? Browse other questions tagged or ask your own question.