https://montessori.contact/view/blocks.php?id=8&c=shortcut&new=

That is what actually is requested but when CleanURL is on it won't
reach here as the .php?... part gets deleted by the .htaccess.

How does the correct .htaccess has to look like so that the CleanURL
gets displayed without .php and actually also stays in the browser bar
what it is not doing either?

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: mahara-contributors
https://bugs.launchpad.net/bugs/1933945

Title:
  Mahara: Invalid Parameter  A required parameter is missing or
  malformed  Missing parameter id

Status in Mahara:
  New

Bug description:
  Mahara: Invalid Parameter

  A required parameter is missing or malformed

  Missing parameter id

  ---
  when accessing /view/blocks from dashboard - "Latest Changes I can View" 
settings wheel

  
  Probably a conflict with the CleanURL and .htaccess.

  <IfModule mod_rewrite.c>
        RewriteEngine on
       
      # if redirected to url cleaner, redirect to actual lookup file and
        # these lines will keep the clean url visible in the browser
        RewriteRule ^u/([a-z0-9-]+)/?$ 
https://montessori.contact/user/view.php?profile=$1&%{QUERY_STRING} [L]
        RewriteRule ^u/([a-z0-9-]+)/([a-z0-9-]+)/?$ 
https://montessori.contact/view/view.php?profile=$1&page=$2&%{QUERY_STRING} [L]
        RewriteRule ^g/([a-z0-9-]+)/?$ 
https://montessori.contact/group/view.php?homepage=$1&%{QUERY_STRING} [L]
        RewriteRule ^g/([a-z0-9-]+)/([a-z0-9-]+)/?$ 
https://montessori.contact/view/view.php?homepage=$1&page=$2&%{QUERY_STRING} [L]
      
      RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php [NC]
        RewriteRule ^ %1 [R,L]
                
      # do not do anything if already existing file, symbolic link or directory 
  
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule ^(.*)$ $1.php [L] 

   </IfModule>

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1933945/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to