Url rewriting sous gentoo

Nouveau WRInaute
Bonjour,
J'ai lu les tutoriels sur l'url rewriting, je l'ai même déjà mis en place! Mais là je sèche sur un problème.

Mon url rewriting ne fonctionne pas! J'ai bien le loadmodule dans httpd.conf. J'ai bien supprimer le multiviews...

Mais je sais pas quoi faire d'autre...

mon .htacces :
Code:
RewriteEngine on
Options +FollowSymlinks
RewriteRule ^/index\.html$  /index\.php [L]

Merci d'avance!
 
Nouveau WRInaute
En fait je crois que j'ai supprimer tout un bloc avec multiviews... Quelqu'un peut me filer les deux "bloc" ou apparraissait le multiview dans httpd.conf?

Merci!
 
Nouveau WRInaute
il me semble bien qu'il faut virer le multiview

voila ma config si ca peu t'aider

<Directory />
Options Includes ExecCGI FollowSymLinks Indexes
AllowOverride All
</Directory>
 
Nouveau WRInaute
Oui celui là je l'ai remis... Mais j'en ai supprimer un autre plus gros...
Pcq je vois pas ou pourrai être le problème sinon...
 
Nouveau WRInaute
voila ce que j'ai juste apres:

#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#

#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/usr/local/apache/htdocs">

#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# -apache.org/docs/2.0/mod/core.html
# for more information.
#
Options FollowSymLinks

#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit Indexes
#
AllowOverride All

#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all

</Directory>

#
# UserDir: The name of the directory that is appended onto a user's home
# directory if a ~user request is received.
#
UserDir www

#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
#<Directory /home/*/public_html>
# AllowOverride FileInfo AuthConfig Limit Indexes
# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
# <Limit GET POST OPTIONS PROPFIND>
# Order allow,deny
# Allow from all
# </Limit>
# <LimitExcept GET POST OPTIONS PROPFIND>
# Order deny,allow
# Deny from all
# </LimitExcept>
#</Directory>

#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#
# The index.html.var file (a type-map) is used to deliver content-
# negotiated documents. The MultiViews Option can be used for the
# same purpose, but it is much slower.
#
DirectoryIndex index.html index.html.var index.shtml index.htm index.cgi index.php index.wml

#
# AccessFileName: The name of the file to look for in each directory
# for additional configuration directives. See also the AllowOverride
# directive.
#
AccessFileName .htaccess

#
# The following lines prevent .htaccess and .htpasswd files from being
# viewed by Web clients.
#
<FilesMatch "^\.ht">
Order allow,deny
Deny from all
</FilesMatch>
 
Nouveau WRInaute
Oui ben j'ai bien ça aussi... Le problème ne vient donc pas de là?? ...
Je pars au techdays demain et j'aimerai que ce soit au point, donc si vous avez la moindre idée...
 
Discussions similaires
Haut