![]() |
.htaccess problems
can anyone tell me why this isn't working? it's stored within the confessions directory.
HTML Code:
RewriteEngine on www.site.com/confessions/580 www.site.com/confessions/view=random www.site.com/confessions/view=votes www.site.com/confessions/keyword/acid and yet none of them seem to be working. if i add a backslash after each one i don't get a 404 but for some reason the php isn't picking up the $_GET's or something. |
I know my webserver has problems picking up .htaccess files that aren't in the webroot (allowoverride setting or something)
Slighty off topic: do NOT use (.*) to match URLs! It is greedy, so it willl often match more than you wanted, and is lazy because it allows anything to go through when it shouldn't. If it is an ID, use ([0-9]+) If it is a title (clean), use ([-a-z0-9]+) (adjust according to needs) Code:
RewriteEngine on |
on the last one i wanted to be able able to have www.site.com/confessions/view=random/ and www.site.com/confessions/view=votes/ both work. thanks for your assistance thus far, i appreciate it.
i know that it's picking up the .htaccess file though, it's just not behaving as expected for some reason. |
All times are GMT. The time now is 10:51 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|