Bonjour,
Après divers essais et recherches sur le net je n'arrive pas à supprimer /index.php/ dans les URL de mon site. L'URL est actuellement http://www.site/index.php/page
En activant Réécriture au 'vol' des URL et en renommant mon fichier htaccess.txt en .htaccess j'obtiens cette erreur:
Mon fichier htaccess
Mon dossier configuration.php
Merci pour votre aide
Cordialement
Après divers essais et recherches sur le net je n'arrive pas à supprimer /index.php/ dans les URL de mon site. L'URL est actuellement http://www.site/index.php/page
En activant Réécriture au 'vol' des URL et en renommant mon fichier htaccess.txt en .htaccess j'obtiens cette erreur:
Code:
Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at [email]contact@glennsswingorchestra.com[/email] to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Apache/2.4.7 (Ubuntu) Server at [url]www.glennsswingorchestra.com[/url] Port 80
Code:
## # @package Joomla # @copyright Copyright (C) 2005 - 2016 Open Source Matters. All rights reserved. # @license GNU General Public License version 2 or later; see LICENSE.txt ## ## # READ THIS COMPLETELY IF YOU CHOOSE TO USE THIS FILE! # # The line 'Options +FollowSymLinks' may cause problems with some server configurations. # It is required for the use of mod_rewrite, but it may have already been set by your # server administrator in a way that disallows changing it in this .htaccess file. # If using it causes your site to produce an error, comment it out (add # to the # beginning of the line), reload your site in your browser and test your sef urls. If # they work, then it has been set by your server administrator and you do not need to # set it here. ## ## No directory listings IndexIgnore * ## Can be commented out if causes errors, see notes above. Options +FollowSymlinks Options -Indexes ## Mod_rewrite in use. RewriteEngine On ## Begin - Rewrite rules to block out some common exploits. # If you experience problems on your site then comment out the operations listed # below by adding a # to the beginning of the line. # This attempts to block the most common type of exploit `attempts` on Joomla! # # Block any script trying to base64_encode data within the URL. RewriteCond %{QUERY_STRING} base64_encode[^(]*\([^)]*\) [OR] # Block any script that includes a <script> tag in URL. RewriteCond %{QUERY_STRING} (<|%3C)([^s]*s)+cript.*(>|%3E) [NC,OR] # Block any script trying to set a PHP GLOBALS variable via URL. RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR] # Block any script trying to modify a _REQUEST variable via URL. RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) # Return 403 Forbidden header and show the content of the root home page RewriteRule .* index.php [F] # ## End - Rewrite rules to block out some common exploits. ## Begin - Custom redirects # # If you need to redirect some pages, or set a canonical non-www to # www redirect (or vice versa), place that code here. Ensure those # redirects use the correct RewriteRule syntax and the [R=301,L] flags. # ## End - Custom redirects ## # Uncomment the following line if your webserver's URL # is not directly related to physical file paths. # Update Your Joomla! Directory (just / for root). ## # RewriteBase / ## Begin - Joomla! core SEF Section. # RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] # # If the requested path and file is not /index.php and the request # has not already been internally rewritten to the index.php script RewriteCond %{REQUEST_URI} !^/index\.php # and the requested path and file doesn't directly match a physical file RewriteCond %{REQUEST_FILENAME} !-f # and the requested path and file doesn't directly match a physical folder RewriteCond %{REQUEST_FILENAME} !-d # internally rewrite the request to the index.php script RewriteRule .* index.php [L] # ## End - Joomla! core SEF Section.
Code:
<?php class JConfig { public $offline = '0'; public $offline_message = 'Ce site est en maintenance.<br /> Merci de revenir ultérieurement.'; public $display_offline_message = '1'; public $offline_image = ''; public $sitename = 'Glenn\'s Swing Orchestra'; public $editor = 'tinymce'; public $captcha = '0'; public $list_limit = '20'; public $access = '1'; public $debug = '0'; public $debug_lang = '0'; public $dbtype = 'mysqli'; public $host = 'localhost'; public $user = 'gso'; public $password = 'dsf44dsfds'; public $db = 'gso'; public $dbprefix = 'vgzvk_'; public $live_site = ''; public $secret = 'sDmFriWoXbl6ZZYi'; public $gzip = '0'; public $error_reporting = 'default'; public $helpurl = 'https://help.joomla.fr/index.php?option=com_help&keyref=Help{major}{minor}:{keyref}'; public $ftp_host = ''; public $ftp_port = ''; public $ftp_user = ''; public $ftp_pass = ''; public $ftp_root = ''; public $ftp_enable = '0'; public $offset = 'UTC'; public $mailonline = '1'; public $mailer = 'mail'; public $mailfrom = 'contact@glennsswingorchestra.com'; public $fromname = 'Glenn\'s Swing Orchestra'; public $sendmail = '/usr/sbin/sendmail'; public $smtpauth = '0'; public $smtpuser = ''; public $smtppass = ''; public $smtphost = 'localhost'; public $smtpsecure = 'none'; public $smtpport = '25'; public $caching = '0'; public $cache_handler = 'file'; public $cachetime = '15'; public $cache_platformprefix = '0'; public $MetaDesc = 'Glenn Miller et années swing. Dans la pure tradition des orchestres de jazz des années 1930/40, ce big band vous replonge dans l\'ambiance festive et populaire de l\'âge d\'or du jazz !!'; public $MetaKeys = 'orchestre de jazz,glenn miller,orchestre swing,spectacle tout public,liberation de la france,debarquement normandie,seconde guerre mondiale,premiere guerre mondiale,tubes du jazz,musique annees 1930-1940,musique americaine,standards de jazz,frank sinatra'; public $MetaTitle = '1'; public $MetaAuthor = '0'; public $MetaVersion = '0'; public $robots = ''; public $sef = '1'; public $sef_rewrite = '0'; public $sef_suffix = '0'; public $unicodeslugs = '0'; public $feed_limit = '10'; public $feed_email = 'none'; public $log_path = '/home/gso/www/administrator/logs'; public $tmp_path = '/home/gso/www/tmp'; public $lifetime = '15'; public $session_handler = 'database'; public $memcache_persist = '1'; public $memcache_compress = '0'; public $memcache_server_host = 'localhost'; public $memcache_server_port = '11211'; public $memcached_persist = '1'; public $memcached_compress = '0'; public $memcached_server_host = 'localhost'; public $memcached_server_port = '11211'; public $redis_persist = '1'; public $redis_server_host = 'localhost'; public $redis_server_port = '6379'; public $redis_server_auth = ''; public $redis_server_db = '0'; public $proxy_enable = '0'; public $proxy_host = ''; public $proxy_port = ''; public $proxy_user = ''; public $proxy_pass = ''; public $massmailoff = '0'; public $MetaRights = ''; public $sitename_pagetitles = '0'; public $force_ssl = '0'; public $session_memcache_server_host = 'localhost'; public $session_memcache_server_port = '11211'; public $session_memcached_server_host = 'localhost'; public $session_memcached_server_port = '11211'; public $frontediting = '1'; public $cookie_domain = ''; public $cookie_path = ''; public $asset_id = '1'; }
Cordialement
Commentaire