SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard bronze trophy PicnicTutorials's Avatar
    Join Date
    Dec 2007
    Location
    Carlsbad, California, United States
    Posts
    3,630
    Mentioned
    15 Post(s)
    Tagged
    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?

  2. #2
    SitePoint Wizard bronze trophy Jeff Mott's Avatar
    Join Date
    Jul 2009
    Posts
    1,155
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by PicnicTutorials View Post
    I'm looking for a reference that explains what every little piece of code does
    That would be the Apache documentation. My guess is you'll spend most of your time in the rewrite section. Rewrites, in turn, use regular expressions.

    Quote Originally Posted by PicnicTutorials View Post
    Additionally what is server/apache/htaccess code called? Like css and html. Is it just called apache?
    So far as I can tell, there's no branded name. It's simply referred to as configuration file syntax.
    "First make it work. Then make it better."

  3. #3
    Certified Ethical Hacker silver trophybronze trophy dklynn's Avatar
    Join Date
    Feb 2002
    Location
    Auckland
    Posts
    14,607
    Mentioned
    19 Post(s)
    Tagged
    2 Thread(s)
    Quote Originally Posted by PicnicTutorials View Post
    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?
    PT,

    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.

    Regards,

    DK
    David K. Lynn - Data Koncepts is a long-time WebHostingBuzz (US/UK)
    Client and (unpaid) WHB Ambassador
    mod_rewrite Tutorial Article (setup, config, test & write
    mod_rewrite regex w/sample code) and Code Generator


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •