CMS Made Simple Pretty URLs using Abyss Web Server X2 v2.8

 
Post new topic   Reply to topic    Aprelium Forum Index -> URL Rewriting
View previous topic :: View next topic  
Author Message
David Martin
-


Joined: 23 May 2013
Posts: 1

PostPosted: Thu May 23, 2013 4:57 pm    Post subject: CMS Made Simple Pretty URLs using Abyss Web Server X2 v2.8 Reply with quote

As I documented here:

http://forum.cmsmadesimple.org/viewtopic.php?f=4&t=66501

Here is the configuration to get Pretty URLs working with Abyss Web Server X2 v2.8 and CMSMS 1.11.6

In the CONFIG.PHP put the following:
Code:
$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.html';


Then under the Host -> Edit -> URL Rewriting area in Abyss setup a rule:
Code:
Enabled Rule: Checked
Type: Global
Virtual Path Regular Expression: ^/(.*)$
Case Sensitive: Unchecked
Conditions:
REQUEST_FILENAME - Is not a file
REQUEST_FILENAME - Is not a directory
Apply to subrequests too: Checked
If this rule matches: Perform an internal redirection
Redirecto to: /index.php?page=$
Append Query String: Checked
Escape Redirection Location: Checked
Next Action: Stop matching

Back to top View user's profile Send private message
aprelium-support
-


Joined: 20 Feb 2009
Posts: 356

PostPosted: Thu Jun 27, 2013 4:25 pm    Post subject: Re: CMS Made Simple Pretty URLs using Abyss Web Server X2 v2 Reply with quote

David Martin,

Thank you for the contribution. That proves a simple rule can solve issues that require a lot of tinkering and magic voodoo with .htaccess files on other servers.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> URL Rewriting All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group