Hi, I know this question has been asked a trillion times, so I'll try not to repeat stuff. Basically, I need help with mod_rewrite. Following the instructions on this thread, I checked my loaded modules to see if mod_rewrite was listed. And it was. My mod_rewrite works fine on my computer (I was the wamp server for local stuff) and it looks like this
I just can't figure out why I keep getting error 500. Any ideas?
Oh yeah, and with finding the httpd.conf file, where do I go to find it? I've opened every single folder (not one of which looks remotely like conf or anything) and still can't find it.
Thanks!
Code:
RewriteEngine on
RewriteRule ^([A-Za-z0-9-_]+)$ $1/ [R]
RewriteRule ^([A-Za-z0-9-_]+)/?$ index.php?dir=&page=$1
#[NC]?
RewriteRule ^([A-Za-z0-9-_/]+)/([A-Za-z0-9-_]+)$ $1/$2/ [R]
RewriteRule ^([A-Za-z0-9-_/]+)/([A-Za-z0-9-_]+)/?$ index.php?dir=$1&page=$2
#[NC]?
#absolute link for above?
Options -indexes
Oh yeah, and with finding the httpd.conf file, where do I go to find it? I've opened every single folder (not one of which looks remotely like conf or anything) and still can't find it.
Thanks!