View previous topic :: View next topic |
Author |
Message |
David Martin -
Joined: 23 May 2013 Posts: 1
|
Posted: Thu May 23, 2013 4:57 pm Post subject: CMS Made Simple Pretty URLs using Abyss Web Server X2 v2.8 |
|
|
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 |
|
|
aprelium-support -
Joined: 20 Feb 2009 Posts: 356
|
Posted: Thu Jun 27, 2013 4:25 pm Post subject: Re: CMS Made Simple Pretty URLs using Abyss Web Server X2 v2 |
|
|
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 |
|
|
|