20/06/2011, 13:38:12
Citation :#~~~~~ DEBUT BLOC A NE PAS SUPPRIMER ~~~~~
#~ Version du CMS: !1.6.9
#~ Url du site :
#~ Hébergeur / Soft : lamp
#~ Informations Système :
----------------------------------------------
Cms Version: 1.6.9
Installed Modules:
* CMSMailer: 1.73.14
* FileManager: 1.0.2
* MenuManager: 1.6.2
* ModuleManager: 1.3.2
* News: 2.10.4.1
* nuSOAP: 1.0.1
* Printing: 1.0.4
* Search: 1.6.1
* ThemeManager: 1.1.1
* TinyMCE: 2.7.3
* Showtime: 2.0.3
* Gallery: 1.4.4
Config Information:
* php_memory_limit:
* process_whole_template: false
* max_upload_size: 10000000
* default_upload_permission: 664
* assume_mod_rewrite: false
* page_extension: /
* internal_pretty_urls: false
* use_hierarchy: true
Php Information:
* phpversion: 5.3.3-1ubuntu9.4
* md5_function: On (Vrai)
* gd_version: 2
* tempnam_function: On (Vrai)
* magic_quotes_runtime: Off (Faux)
* memory_limit: 128M
* max_execution_time: 60
* safe_mode: Off (Faux)
* session_save_path: /var/lib/php5 (1733)
* session_use_cookies: On (Vrai)
Server Information:
* Server Api: apache2handler
* Server Db Type: MySQL (mysql)
* Server Db Version: 5.1.49
----------------------------------------------
#~~~~~ FIN BLOC A NE PAS SUPPRIMER ~~~~~
Bonjour, mon site est développé en local, et quand je mets en place le mode d'emploi "url élégantes", je modifie sans problèmes le config.php, et le .htaccess mais rien ne se passe.
Je pense que j'ai mal rempli .htaccess mais j'ai beau charcher je ne vois rien, surement parceque je ne le comprends pas bien.
Voici le code de ce fichier:
Options +FollowSymLinks
RewriteEngine on
RewriteBase /
# 301 Redirect all requests that don't contain a dot or trailing slash to
# include a trailing slash
# except for form POSTS
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !\.
RewriteCond %{REQUEST_METHOD} !POST$
RewriteRule ^(.*) %{REQUEST_URI}/ [R=301,L]
# Rewrites urls in the form of /parent/child/
# but only rewrites if the requested URL is not a file or directory
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?page=$1 [QSA]
Merci de votre aide