History of PrettyUrls
Version 6
PrettyUrls
Use of URL rewriting (mod_rewrite) to generate cleaner site URL's
Created by: James Thompson, Last modification: 09 Jul 2005 (03:08 UTC) by James Thompson
PrettyUrls use the Apache webserver's mod_rewrite module to handle URL rewriting to convert browser references such as
http://www.example.com/blogs/1
to web server references such as
http://www.example.com/blogs/index.php?post_id=1
So far Blogs, Wiki, Fisheye and Users have had code added to handle the checkbox for PrettyUrls in Admin -> Features
mod_rewrite comes as part of apache by default and has to be enabled in your httpd.conf file:
{code()}
<directory />
Options FollowSymLinks
AllowOverride None
{code}
goes to
{code()}
<directory />
Options FollowSymLinks
AllowOverride All
{code}
this should be done for the / dir and your html dir such as /var/www/
Note:
Depending on your web server configuration, the default supplied .htaccess files may not work. One thing to try is to comment out the "RewriteBase" line in the file. For example:
{code()}
RewriteBase /wiki/
{code}
goes to
{code()}
http://www.example.com/blogs/1
to web server references such as
http://www.example.com/blogs/index.php?post_id=1
So far Blogs, Wiki, Fisheye and Users have had code added to handle the checkbox for PrettyUrls in Admin -> Features
mod_rewrite comes as part of apache by default and has to be enabled in your httpd.conf file:
{code()}
<directory />
Options FollowSymLinks
AllowOverride None
{code}
goes to
{code()}
<directory />
Options FollowSymLinks
AllowOverride All
{code}
this should be done for the / dir and your html dir such as /var/www/
Note:
Depending on your web server configuration, the default supplied .htaccess files may not work. One thing to try is to comment out the "RewriteBase" line in the file. For example:
{code()}
RewriteBase /wiki/
{code}
goes to
{code()}
- RewriteBase /wiki/