Results 1 to 3 of 3
Oct 25, 2013, 14:11 #1
- Join Date
- Dec 2007
- Carlsbad, California, United States
- 15 Post(s)
- 0 Thread(s)
Server/apache/htaccess code peices reference???
I'm not looking for snippets I'm looking for a reference that explains what every little piece of code (.? ^ and etc) does exactly. I like to have a working knowledge of what the code is doing and not just blindly follow what was given to me. Thanks.
Additionally what is server/apache/htaccess code called? Like css and html. Is it just called apache?
Oct 25, 2013, 16:20 #2
Apache documentation. My guess is you'll spend most of your time in the rewrite section. Rewrites, in turn, use regular expressions.
configuration file syntax."First make it work. Then make it better."
Oct 25, 2013, 19:27 #3
- Join Date
- Feb 2002
- 19 Post(s)
- 3 Thread(s)
The reference is a subset of regular expressions (no multi-line, no italic, etc., because they're dealing with Apache variables). I explain nearly all you need to know in the tutorial linked in my signature. There is also a 'regex cheat sheet' linked at the end of the very long page.
The code is known as mod_rewrite after the Apache module which is used.