Pretty URLs using Abyss Web Server X2 v2.8

Do something cool with CMS? Show us ...
This board is for 'Answers', and the discussion of answers... Not for questions.
Post Reply
DavidMartin
New Member
New Member
Posts: 2
Joined: Sun Mar 24, 2013 4:56 pm

Pretty URLs using Abyss Web Server X2 v2.8

Post by DavidMartin »

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: Select all

$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '.html';
Then under the Host -> Edit -> URL Rewriting area in Abyss setup a rule:

Code: Select all

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
Attachments
AbyssPrettyURLs.gif
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12709
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Pretty URLs using Abyss Web Server X2 v2.8

Post by Dr.CSS »

They won't let you just use an .htaccess file..?
Post Reply

Return to “Tips and Tricks”