Serving md files - htaccess

iko

New Member
Messages
1
Reaction score
0
Points
1
Hi I've modified htaccess to have .md files preprocessed by a simple php script and displayed as html. I've created an action but the server doesn't recognize it.
Where am I wrong? I'm not super savvy with server stuff, I've spent a few days looking online from some info but I can't seem to solve this, and I could use some help! Thank you
This is the code I've added to htaccess

Action markdown /handler.php
AddHandler markdown .md
DirectoryIndex index.html index.php index.md
 

Anna

I am just me
Staff member
Messages
11,733
Reaction score
578
Points
113
This is outside the scope of our support so moving the thread to a better suited forum, for lack of proper forum for it that would be "Off Topic" as that is the designation for anything that does not fit elsewhere currently
 
Top