Jump to content

Recommended Posts

Posted

SOLVED

For those who are looking for the answer :

Replace CondonRewrite.class.php in Core/Classes with this : https://github.com/DavidJClark/phpvms_5.5.x/blob/master/core/classes/CodonRewrite.class.php

And add .htaccess file containing the following to the root folder

# main page of the site
DirectoryIndex index.php
# prevent viewing of a specific file
<FilesMatch "\.(htaccess|htpasswd|ini|phps|fla|psd|log|sh|tpl)$">
Order Allow,Deny
Deny from all
</FilesMatch>
# prevent viewing of index
Options +FollowSymLinks
Options All -Indexes
#Can give without index.php for the modules
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?q=$1  [L]

  • Like 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...