The words Under construction in black text on a yellow background with diagonal black stipes surrounding it
I'm in the process of moving my site. It's still a work in progress. Please excuse the mess and broken links.

Using Apaches mod_rewrite to access files in a different directory

TODO: Pull subtitle into page object

I like clean URLs. Nothing more than:

http://example.com/page-name

This is part of how I set that up when I was using apache via mod_rewrite

code_start_default_section code_end_default_section

TODO: Add more details on exactly what this is doing.

Debugging Stuff

I'm moving stuff around right now. All this below is helping me figure out where to put stuff

        -- title

Using Apaches mod_rewrite to access files in a different directory

-- p

I like clean URLs. Nothing more than:

-- p

http://example.com/page-name

-- p

This is part of how I set that up when I was using apache via mod_rewrite

-- code/

RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}/pages/$1.html  -f
RewriteRule ^(.*)$ %{DOCUMENT_ROOT}/pages/$1.html [L]

-- /code

-- p

TODO: Add more details on exactly what this is doing.


-- categories
-- Apache

-- metadata
-- date: 2012-08-25 00:00:00
-- id: 20emlcmc
-- status: published
-- type: post
-- SCRUBBED_NEO: false
-- site: aws