GetSimple Support Forum

Full Version: mod_rewrite problem [SOLVED]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello there, i try to use "fancy url", i have modify the file htaccess like this:

Code:
RewriteEngine On
RewriteRule sitemap\.xml sitemap.php?
RewriteRule rss\.xml rss.php?
RewriteRule ^([^/]*)/index\.html$ /index.php?&category=$1 [L]
RewriteRule categorie/index\.htm$ /index.php?&categorylist=true [L]
RewriteRule ^([^/]*)/([^/]*)\.html$ /index.php?&url=$2&sys_category=$1 [L]
RewriteRule ^([^/]*)/([^/]*)\.htm$ /index.php?&blog=$2 [L]
ErrorDocument 404 /notfound.php

But doesn't work...
UP please Tongue
what part doesn't work, or do you get a 500 error ?
What are those rules for?
I mean, they don't seem to be for GS or a GS plugin...
I would not look for one that post a topic to every problem, but every time I write then later I find the solution, often alone is a kind of lucky charm? Smile
Thank you for your contribution, I explain what the nature of my problem and how i solved it...
Could be useful to other users.

i use Xampp as local server, for some reason in my default installation the rewrite module was off.
To turn it on do this:


Open apache’s configuration file using your favorite text editor.
The configuration file generally locates at:{apache_dir}/conf/httpd.conf
If you are using XAMPP or WAMP package then you will find the file at:{xampp_dir}/apache/conf/httpd.conf
{wamp_dir}/apache/conf/httpd.conf
Search for the following string:
Code:
#LoadModule rewrite_module modules/mod_rewrite.so
and uncomment it (remove the ‘#’ sign).
Now search for another string
Code:
AllowOverride None
and replace it by
Code:
AllowOverride All
Finally save the changes, close your text editor and restart your apache server.
installation warns you of this so does health check.
Yeah you right... but when i have installed xampp one year ago, I had no idea what it was mod_rewrite... Tongue