Hi all,
This should be a really easy one, but for some reason I keep getting 404's.
.htaccess:
The site is running under a subdirectory called /site/ on root and the .htaccess file is in there as well.Code:AddDefaultCharset UTF-8 RewriteEngine on RewriteRule ^([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/([a-zA-Z0-9_-]+)/([0-9]+)$ index.php?var=$4
The full url to trigger this would be something like:
http://www.example.com/site/somevar1...somevar3/32145
So basically all this will trigger index.php?var to be 32145
What the ____ am I doing incorrectly?



Reply With Quote

Are you sure you're on an Apache 2.x server?
Bookmarks