Upgrading? Please replace your .htaccess, a forum discussion on Jojo CMS. Join us for more discussions on Upgrading? Please replace your .htaccess on our General Announcements forum.
You must be logged in to post a reply
| |
If anyone is using a development copy of Jojo from around the 15th January 2008, you will need to upgrade your .htaccess file, as we have changed it.
The .htaccess file has been simplified, and we have plans to simplify this even further. Unfortunately, this means an additional step to ugrade existing installations.
Simply replace your existing .htaccess file with the code below...
If you have any custom code in your .htaccess file, make sure this gets copied across. Your web host may have custom code in there, or other software running on the same domain.
Thanks,
Harvey.
The .htaccess file has been simplified, and we have plans to simplify this even further. Unfortunately, this means an additional step to ugrade existing installations.
Simply replace your existing .htaccess file with the code below...
RewriteEngine On
RewriteBase /
#prevent PHPSESSID showing up in querystring
php_value session.use_only_cookies 1
php_value session.use_trans_sid 0
# Everything else
RewriteRule ^$ index.php?uri= [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?uri=$1 [L]
RewriteBase /
#prevent PHPSESSID showing up in querystring
php_value session.use_only_cookies 1
php_value session.use_trans_sid 0
# Everything else
RewriteRule ^$ index.php?uri= [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?uri=$1 [L]
2 things to note
If Jojo is running in a subfolder, make sure the "RewriteBase" linereflects this eg "RewriteBase /your-subfolder/"If you have any custom code in your .htaccess file, make sure this gets copied across. Your web host may have custom code in there, or other software running on the same domain.
Thanks,
Harvey.
| Back to Forum Index : Back to General Announcements |
|
