Htaccess

Status
Not open for further replies.

Phx

Baseband Member
Messages
27
I have a bunch of HTML files in the root directory of my webserver. Using .htaccess what would I do so that I could visit these pages using the name of the file, and not the extension.

For example:
You have blah.html, on domain.com. (So thats domain.com/blah.html)
How would I, without making it a directory, make it able to be visited with domain.com/blah? (also not using cheap redirects, I'm talking about the Rewrite Engine..
 
Yeah.
I've tried looking through google and apache's website for some mod_rewrite tutorials, and couldn't find an example from what I was looking for. It'd probably be easier if I knew regex but, that's why I'm asking for some help. :)
 
Status
Not open for further replies.
Back
Top Bottom