Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Does anyone know of any good guides for someone new to editing and making .htaccess files. Anything about rewriting urls, directory access and passwording a directory would be great.

share|improve this question

closed as not a real question by Lèse majesté, John Conde Dec 13 '11 at 12:50

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.

1  
Did you try Google yet? –  John Conde Dec 12 '11 at 13:57

2 Answers 2

up vote 3 down vote accepted

Two hints to help you doing the job faster:


Please try to use the RewriteLog directive: it helps you to track down problems:

# Trace:
# (!) file gets big quickly, remove in prod environments:
RewriteLog "/web/logs/mywebsite.rewrite.log"
RewriteLogLevel 9
RewriteEngine On

My favorite tool to check for regexp:

http://www.quanetic.com/Regex (don't forget to choose ereg(POSIX) instead of preg(PCRE)!)

You use this tool when you want to check the URL and see if they're valid or not.

share|improve this answer
    
thank you, thats very helpful. –  Rudiger Kidd Dec 12 '11 at 14:47

How about the official documentation ? Next to that, this guide may be a good introduction.

share|improve this answer
    
thanks, thats very useful too. –  Rudiger Kidd Dec 12 '11 at 14:49

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