You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
527 B
18 lines
527 B
# Check that your Apache virtualhost have this settings:
|
|
|
|
#<Directory "/var/www/chamilo-classic">
|
|
# AllowOverride All
|
|
# Order allow,deny
|
|
# Allow from all
|
|
#</Directory>
|
|
|
|
|
|
|
|
RewriteEngine on
|
|
RewriteCond %{QUERY_STRING} ^id=(.*)$
|
|
RewriteRule ^certificates/$ certificates/index.php?id=%1 [L]
|
|
RewriteRule ^([^/.]+)/?$ user.php?$1 [L]
|
|
|
|
# This will transform
|
|
# http://my.chamilo.net/certificates/index.php?id=123 to http://my.chamilo.net/certificates/123
|
|
# http://my.chamilo.net/user.php?jmontoya to http://my.chamilo.net/jmontoya |